summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/product_template.py
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2022-11-15 17:36:32 +0700
committerIT Fixcomart <it@fixcomart.co.id>2022-11-15 17:36:32 +0700
commit5102c2a866daec248e3903fbfb7b8bd87bb0ef52 (patch)
tree71c2d34088308a67d43b9780b9d3a94ee870ffab /indoteknik_custom/models/product_template.py
parentf6671dd4595af3c1075b27925f10c457854cecf8 (diff)
parent9d0dbdfe0e08ecab850860fa2b23ffb64fa6dae1 (diff)
Merge branch 'master' of bitbucket.org:altafixco/indoteknik-addons
Diffstat (limited to 'indoteknik_custom/models/product_template.py')
-rwxr-xr-xindoteknik_custom/models/product_template.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py
index 5d34fbc8..114899e6 100755
--- a/indoteknik_custom/models/product_template.py
+++ b/indoteknik_custom/models/product_template.py
@@ -33,6 +33,7 @@ class ProductTemplate(models.Model):
web_price_sorting = fields.Float('Web Price Sorting', help='Hanya digunakan untuk sorting di web, harga tidak berlaku', default=0.0)
virtual_qty = fields.Float(string='Virtual Qty', default=0)
solr_flag = fields.Integer(string='Solr Flag', default=0)
+ search_rank = fields.Integer(string='Search Rank', default=0)
# def write(self, vals):
# if 'solr_flag' not in vals and self.solr_flag == 1: