summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-07-08 04:40:02 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-07-08 04:40:02 +0000
commit21e6c862fef9662577b84e7265e993729af6d684 (patch)
tree89823c50f4d28d4da606adbc791e36428a16b5a8
parent219a2b4f7be2c88dab0d46f6a56a42e4e3d118f2 (diff)
parent1cd93c2fa80fd4fb29a79b7b1b2d08c69d312ca8 (diff)
Merged in feature/iman_sequence (pull request #158)
<iman> change default value sequence i
-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")