From 1cd93c2fa80fd4fb29a79b7b1b2d08c69d312ca8 Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Mon, 8 Jul 2024 11:39:19 +0700 Subject: change default value sequence i --- indoteknik_custom/models/promotion/promotion_program_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v1.2.3