summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/x_manufactures.py
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-12-21 18:48:38 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-12-21 18:48:38 +0700
commitdb2f280683b29ac5d32158f3fab0f3df671935e9 (patch)
tree83624efbd3e7abc705c8d987994cf2c1b7612284 /indoteknik_custom/models/x_manufactures.py
parenta08dfcb0d1f99a99686a8fba948fae7d4eca374e (diff)
add website categories homepage module
Diffstat (limited to 'indoteknik_custom/models/x_manufactures.py')
-rwxr-xr-xindoteknik_custom/models/x_manufactures.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/x_manufactures.py b/indoteknik_custom/models/x_manufactures.py
index dae37668..24b64c14 100755
--- a/indoteknik_custom/models/x_manufactures.py
+++ b/indoteknik_custom/models/x_manufactures.py
@@ -35,6 +35,7 @@ class XManufactures(models.Model):
('sparepart', 'Spare Part')
], string="Jenis Produk")
x_short_desc = fields.Text(string="Short Description")
+ product_tmpl_ids = fields.One2many('product.template', 'x_manufacture', string='Product Templates')
@api.onchange('x_name','image_promotion_1','image_promotion_2')
def update_solr_flag(self):