From 64e790b5d9c923c91bed9f7f9a934e9d229bca2c Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Thu, 22 Aug 2024 10:44:28 +0700 Subject: add shipping on apply_type --- indoteknik_custom/models/voucher.py | 1 + 1 file changed, 1 insertion(+) 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') -- cgit v1.2.3