diff options
Diffstat (limited to 'indoteknik_custom/models/product_template.py')
| -rw-r--r-- | indoteknik_custom/models/product_template.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py new file mode 100644 index 00000000..b2816d3f --- /dev/null +++ b/indoteknik_custom/models/product_template.py @@ -0,0 +1,19 @@ +from odoo import fields, models + + +class ProductTemplate(models.Model): + _inherit = "product.template" + + x_studio_field_tGhJR = fields.Many2many('x_product_tags', string="Product Tags") + x_manufacture = fields.Many2one( + comodel_name="x_manufactures", + string="Manufactures" + ) + x_model_product = fields.Char(string="Model Produk") + x_product_manufacture = fields.Many2one( + comodel_name="x_manufactures", + string="Manufacture" + ) + x_lazada = fields.Text(string="Lazada") + x_tokopedia = fields.Text(string="Tokopedia") + |
