From 77c4f329788de87938c971de525b9717844978b8 Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Tue, 2 Jul 2024 17:02:05 +0700 Subject: add sequence to program promotion line --- indoteknik_custom/models/promotion/promotion_program_line.py | 1 + 1 file changed, 1 insertion(+) (limited to 'indoteknik_custom/models/promotion') 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") -- cgit v1.2.3