diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-11-21 13:43:17 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-11-21 13:43:17 +0700 |
| commit | 9bee745fe999ae7feba61d23002bd88139048d80 (patch) | |
| tree | 9128bfb18f2d3c8dadfbe301ff521395df81de9b /indoteknik_custom/models/voucher.py | |
| parent | a155ccce0c0c59f1e41c11012cf81ea16812642d (diff) | |
| parent | 866a2f8dfc5b6628a5ddc5ed88de2a0586ba4761 (diff) | |
Merge branch 'production' of bitbucket.org:altafixco/indoteknik-addons into production
Diffstat (limited to 'indoteknik_custom/models/voucher.py')
| -rw-r--r-- | indoteknik_custom/models/voucher.py | 3 |
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): |
