From 1d144203dfc9cdaef66c8ab70e7a7432ea9e8bc8 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 22 Nov 2022 09:05:48 +0700 Subject: add search ranking by weekly in product template --- indoteknik_custom/models/product_template.py | 1 + 1 file changed, 1 insertion(+) (limited to 'indoteknik_custom/models/product_template.py') diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py index 743667cc..1e23477b 100755 --- a/indoteknik_custom/models/product_template.py +++ b/indoteknik_custom/models/product_template.py @@ -34,6 +34,7 @@ class ProductTemplate(models.Model): 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) + search_rank_weekly = fields.Integer(string='Search Rank Weekly', default=0) # def write(self, vals): # if 'solr_flag' not in vals and self.solr_flag == 1: -- cgit v1.2.3