summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-08 11:50:18 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-08 11:50:18 +0700
commit53d5f0115e963e45b4f7477d2d884968e4bba0c2 (patch)
tree1d6a76466371494e3fe8eb3a4b10ea46b83dcb31
parentc4f43c5ba838aba21fe6bf3662d93f3929f70ddd (diff)
<iman> ubah nilai default sequence
-rw-r--r--indoteknik_custom/models/promotion/promotion_program_line.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/promotion/promotion_program_line.py b/indoteknik_custom/models/promotion/promotion_program_line.py
index 69aa4959..9af6a867 100644
--- a/indoteknik_custom/models/promotion/promotion_program_line.py
+++ b/indoteknik_custom/models/promotion/promotion_program_line.py
@@ -23,7 +23,7 @@ class PromotionProgramLine(models.Model):
display_on_homepage = fields.Boolean('Display on Homepage')
price = fields.Float('Price')
- sequence = fields.Integer(string='Sequence')
+ sequence = fields.Integer(string='Sequence', default=12345)
discount_type = fields.Selection([
("percentage", "Percentage"),
("fixed", "Fixed")