diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-07-02 17:02:05 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-07-02 17:02:05 +0700 |
| commit | 77c4f329788de87938c971de525b9717844978b8 (patch) | |
| tree | 23d6e33972aae0fc8a90a06def09427f17949d23 /indoteknik_custom/models/promotion | |
| parent | 1f0a20e0f85508b94d239dbbb589bcfab0c5b6f6 (diff) | |
<iman> add sequence to program promotion line
Diffstat (limited to 'indoteknik_custom/models/promotion')
| -rw-r--r-- | indoteknik_custom/models/promotion/promotion_program_line.py | 1 |
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") |
