summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/product_template.py
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/models/product_template.py')
-rwxr-xr-xindoteknik_custom/models/product_template.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py
index 9ddaf91c..dbbd4ad4 100755
--- a/indoteknik_custom/models/product_template.py
+++ b/indoteknik_custom/models/product_template.py
@@ -36,6 +36,14 @@ class ProductTemplate(models.Model):
search_rank = fields.Integer(string='Search Rank', default=0)
search_rank_weekly = fields.Integer(string='Search Rank Weekly', default=0)
supplier_url = fields.Char(string='Vendor URL')
+ # custom field for support Trusco products
+ maker_code = fields.Char(string='Maker Code')
+ maker_name = fields.Char(string='Maker Name')
+ origin = fields.Char(string='Origin')
+ features = fields.Char(string='Features')
+ usage = fields.Char(string='Usage')
+ specification = fields.Char(string='Specification')
+ material = fields.Char(string='Material')
# def write(self, vals):
# if 'solr_flag' not in vals and self.solr_flag == 1:
@@ -182,6 +190,14 @@ class ProductProduct(models.Model):
'Qty Stock Vendor', compute='_compute_stock_vendor',
help="Stock Vendor")
solr_flag = fields.Integer(string='Solr Flag', default=0)
+ # custom field for support Trusco products
+ maker_code = fields.Char(string='Maker Code')
+ maker_name = fields.Char(string='Maker Name')
+ origin = fields.Char(string='Origin')
+ features = fields.Char(string='Features')
+ usage = fields.Char(string='Usage')
+ specification = fields.Char(string='Specification')
+ material = fields.Char(string='Material')
# def write(self, vals):
# if 'solr_flag' not in vals: