diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-10-13 15:38:46 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-10-13 15:38:46 +0700 |
| commit | 9b2203ce1fdaad20b23fad1f9b0a1995311e175c (patch) | |
| tree | 0fbdac49f21575f0fa7d5e4f974455fbdc3ce33e /indoteknik_custom/models/voucher_line.py | |
| parent | a00faa739bdbd8d7750728bdfdc3926b9bf446e2 (diff) | |
| parent | ea8b431331628bc300d23d5d3ee43cf1f0f1018a (diff) | |
Merge branch 'production' of bitbucket.org:altafixco/indoteknik-addons into production
Diffstat (limited to 'indoteknik_custom/models/voucher_line.py')
| -rw-r--r-- | indoteknik_custom/models/voucher_line.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/voucher_line.py b/indoteknik_custom/models/voucher_line.py index 8b449d1f..890471dc 100644 --- a/indoteknik_custom/models/voucher_line.py +++ b/indoteknik_custom/models/voucher_line.py @@ -7,7 +7,7 @@ class Voucher(models.Model): voucher_id = fields.Many2one('voucher', string='Voucher') manufacture_id = fields.Many2one('x_manufactures', string='Brand') min_purchase_amount = fields.Integer(string='Min. Purchase Amount', help='Nominal minimum untuk dapat menggunakan voucher. Isi 0 jika tidak ada minimum purchase amount') - discount_amount = fields.Integer(string='Discount Amount') + discount_amount = fields.Float(string='Discount Amount') discount_type = fields.Selection(string='Discount Type', selection=[ ('percentage', 'Percentage'), |
