summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-08-22 10:44:28 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-08-22 10:44:28 +0700
commit64e790b5d9c923c91bed9f7f9a934e9d229bca2c (patch)
treed982cfbbf000ec92ce31c69b3d22e31bd7941de7
parentfcc14b595646ce5ad1de6cff3f9c44dae35ef0ce (diff)
add shipping on apply_type
-rw-r--r--indoteknik_custom/models/voucher.py1
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')