summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/promotion/promotion_program_line.py
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-07-03 02:13:09 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-07-03 02:13:09 +0000
commitbe81dd2570b45de430db12ecb668f2e4df25d01b (patch)
treeefa23be9ae47d1b07ff9d45975814f8e2a6144a4 /indoteknik_custom/models/promotion/promotion_program_line.py
parent7be7fa7270fba7bca47a1838ef569710875960f0 (diff)
parent77c4f329788de87938c971de525b9717844978b8 (diff)
Merged in feature/iman_sequence (pull request #153)
<iman> add sequence to program promotion line
Diffstat (limited to 'indoteknik_custom/models/promotion/promotion_program_line.py')
-rw-r--r--indoteknik_custom/models/promotion/promotion_program_line.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/promotion/promotion_program_line.py b/indoteknik_custom/models/promotion/promotion_program_line.py
index 34b70ca5..d253c68d 100644
--- a/indoteknik_custom/models/promotion/promotion_program_line.py
+++ b/indoteknik_custom/models/promotion/promotion_program_line.py
@@ -23,6 +23,7 @@ class PromotionProgramLine(models.Model):
display_on_homepage = fields.Boolean('Display on Homepage')
price = fields.Float('Price')
+ sequence = fields.Integer(string='Sequence', default=0)
discount_type = fields.Selection([
("percentage", "Percentage"),
("fixed", "Fixed")