summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/promotion_program_free_item.py
blob: ddd977658671bf93399fbca4cf9b889fbca7c27f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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")