diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-07-18 16:38:29 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-07-18 16:38:29 +0700 |
| commit | d966917a5ba95074b6773f49fcb2c3c924296029 (patch) | |
| tree | 1522069c54c85dad7ec01ae9c16000034cde8878 /indoteknik_custom/models/promotion_program_free_item.py | |
| parent | e0102841e6e21c7b583f096914aa4ba1a28e1587 (diff) | |
Fix lost merge voucher with promotion program
Diffstat (limited to 'indoteknik_custom/models/promotion_program_free_item.py')
| -rw-r--r-- | indoteknik_custom/models/promotion_program_free_item.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indoteknik_custom/models/promotion_program_free_item.py b/indoteknik_custom/models/promotion_program_free_item.py index ddd97765..705456dd 100644 --- a/indoteknik_custom/models/promotion_program_free_item.py +++ b/indoteknik_custom/models/promotion_program_free_item.py @@ -5,8 +5,6 @@ class PromotionProgramFreeItem(models.Model): _name = "promotion.program.free_item" _rec_name = "product_id" - product_id = fields.Many2one( - comodel_name="product.product", string="Product Variant") + product_id = fields.Many2one(comodel_name="product.product", string="Product Variant") qty = fields.Integer(string="Qty") - line_id = fields.Many2one( - comodel_name="promotion.program.line", string="Program Line") + line_id = fields.Many2one(comodel_name="promotion.program.line", string="Program Line") |
