diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-11-22 09:05:48 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-11-22 09:05:48 +0700 |
| commit | 1d144203dfc9cdaef66c8ab70e7a7432ea9e8bc8 (patch) | |
| tree | 76f52f1bb4b4f947841d04f2bd450166ee090f00 /indoteknik_custom/models/product_template.py | |
| parent | 75694b2b47729a71f1ec50639063f0e924aa90b2 (diff) | |
add search ranking by weekly in product template
Diffstat (limited to 'indoteknik_custom/models/product_template.py')
| -rwxr-xr-x | indoteknik_custom/models/product_template.py | 1 |
1 files changed, 1 insertions, 0 deletions
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: |
