diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-05-03 15:09:11 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-05-03 15:09:11 +0700 |
| commit | 515addbceca9df25b3aaf440e8687286620d603a (patch) | |
| tree | 8e081a84df8705912c67ac7edf50cab68d0c9009 /indoteknik_custom/models/apache_solr.py | |
| parent | 02d95b8fbc4faf0045d293514ce63de358fa7645 (diff) | |
update virtual product rating to solr
Diffstat (limited to 'indoteknik_custom/models/apache_solr.py')
| -rw-r--r-- | indoteknik_custom/models/apache_solr.py | 2 |
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, |
