diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-07-08 04:50:57 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-07-08 04:50:57 +0000 |
| commit | a63cac0be6fba389eddfd57778d771cb74e0ca60 (patch) | |
| tree | 89823c50f4d28d4da606adbc791e36428a16b5a8 | |
| parent | b679b361e3785886d11585da0a53a7d32ca8f46f (diff) | |
| parent | 53d5f0115e963e45b4f7477d2d884968e4bba0c2 (diff) | |
Merged in feature/iman_sequence (pull request #160)
<iman> ubah nilai default sequence
| -rw-r--r-- | indoteknik_custom/models/promotion/promotion_program_line.py | 2 |
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") |
