diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-08-22 10:44:28 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-08-22 10:44:28 +0700 |
| commit | 64e790b5d9c923c91bed9f7f9a934e9d229bca2c (patch) | |
| tree | d982cfbbf000ec92ce31c69b3d22e31bd7941de7 | |
| parent | fcc14b595646ce5ad1de6cff3f9c44dae35ef0ce (diff) | |
add shipping on apply_type
| -rw-r--r-- | indoteknik_custom/models/voucher.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/voucher.py b/indoteknik_custom/models/voucher.py index c21ef209..f7305999 100644 --- a/indoteknik_custom/models/voucher.py +++ b/indoteknik_custom/models/voucher.py @@ -52,6 +52,7 @@ class Voucher(models.Model): terms_conditions = fields.Html('Terms and Conditions') apply_type = fields.Selection(string='Apply Type', default="all", selection=[ ('all', "All product"), + ('shipping', "Shipping"), ('brand', "Selected product brand"), ]) count_order = fields.Integer(string='Count Order', compute='_compute_count_order') |
