summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/product_template.py
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-11-15 17:29:45 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-11-15 17:29:45 +0700
commit9d0dbdfe0e08ecab850860fa2b23ffb64fa6dae1 (patch)
tree220ea2b61605eb12d349300b766722b161f345be /indoteknik_custom/models/product_template.py
parentd23592de2c631cf1b7bbdc53cfca7a95607c0b36 (diff)
add search rank in product template
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: