diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:21:18 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:21:18 +0700 |
| commit | 803e4f8b3cf9c1d6a43a354023edc1e065f4121e (patch) | |
| tree | b462ac26fd679c449f848dc8a2de7fc1b8fe3c5c /indoteknik_custom/models/product_template.py | |
| parent | 37c91dd605b4ff1acc9941eed549164eb7de2089 (diff) | |
initial commit 2
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") + |
