summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/product_template.py
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 17:21:18 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 17:21:18 +0700
commit803e4f8b3cf9c1d6a43a354023edc1e065f4121e (patch)
treeb462ac26fd679c449f848dc8a2de7fc1b8fe3c5c /indoteknik_custom/models/product_template.py
parent37c91dd605b4ff1acc9941eed549164eb7de2089 (diff)
initial commit 2
Diffstat (limited to 'indoteknik_custom/models/product_template.py')
-rw-r--r--indoteknik_custom/models/product_template.py19
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")
+