summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/apache_solr.py
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-05-03 15:09:11 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-05-03 15:09:11 +0700
commit515addbceca9df25b3aaf440e8687286620d603a (patch)
tree8e081a84df8705912c67ac7edf50cab68d0c9009 /indoteknik_custom/models/apache_solr.py
parent02d95b8fbc4faf0045d293514ce63de358fa7645 (diff)
update virtual product rating to solr
Diffstat (limited to 'indoteknik_custom/models/apache_solr.py')
-rw-r--r--indoteknik_custom/models/apache_solr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/apache_solr.py b/indoteknik_custom/models/apache_solr.py
index ebe516a0..72584a8f 100644
--- a/indoteknik_custom/models/apache_solr.py
+++ b/indoteknik_custom/models/apache_solr.py
@@ -73,7 +73,7 @@ class ApacheSolr(models.Model):
'display_name_s': template.display_name,
'name_s': template.name,
'default_code_s': template.default_code or '',
- 'product_rating_f': template.product_rating,
+ 'product_rating_f': template.virtual_rating,
'product_id_i': template.id,
'image_s': self.env['ir.attachment'].api_image('product.template', 'image_512', template.id),
'price_f': price_excl,