summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/voucher.py
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2023-11-21 06:06:39 +0000
committerIT Fixcomart <it@fixcomart.co.id>2023-11-21 06:06:39 +0000
commit866a2f8dfc5b6628a5ddc5ed88de2a0586ba4761 (patch)
treef05202c538dc56d6d09cf84ad2fbd8addae635e9 /indoteknik_custom/models/voucher.py
parent7ba598c8ac2a707e93134e97f34b8668a530fd17 (diff)
parentcc9c34431ec16a493808a307405b772d83f4edc8 (diff)
Merged in cr/auth (pull request #130)
Cr/auth
Diffstat (limited to 'indoteknik_custom/models/voucher.py')
-rw-r--r--indoteknik_custom/models/voucher.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/indoteknik_custom/models/voucher.py b/indoteknik_custom/models/voucher.py
index 2eedc861..588e9ac5 100644
--- a/indoteknik_custom/models/voucher.py
+++ b/indoteknik_custom/models/voucher.py
@@ -55,6 +55,9 @@ class Voucher(models.Model):
('brand', "Selected product brand"),
])
count_order = fields.Integer(string='Count Order', compute='_compute_count_order')
+ show_on_email = fields.Selection([
+ ('user_activation', 'User Activation')
+ ], 'Show on Email')
@api.constrains('description')
def _check_description_length(self):