diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2023-07-24 08:38:12 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2023-07-24 08:38:12 +0000 |
| commit | c344ccd81208b5b466ae047dbb9e084dd5d0f358 (patch) | |
| tree | c07caf6a1df48719b828fbe270bb62ccc3e0c947 /indoteknik_custom/models/promotion_program_free_item.py | |
| parent | 989002aca3ed9b1e724e9b98d8ca3513ba598663 (diff) | |
| parent | 2ad6b4ecf783b5dfe0d4aa11f238cbf6aefd9747 (diff) | |
Merged in production (pull request #66)
Production
Diffstat (limited to 'indoteknik_custom/models/promotion_program_free_item.py')
| -rw-r--r-- | indoteknik_custom/models/promotion_program_free_item.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indoteknik_custom/models/promotion_program_free_item.py b/indoteknik_custom/models/promotion_program_free_item.py new file mode 100644 index 00000000..705456dd --- /dev/null +++ b/indoteknik_custom/models/promotion_program_free_item.py @@ -0,0 +1,10 @@ +from odoo import fields, models + + +class PromotionProgramFreeItem(models.Model): + _name = "promotion.program.free_item" + _rec_name = "product_id" + + 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") |
