diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-11-06 14:47:19 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-11-06 14:47:19 +0700 |
| commit | 295088070b43c409c2114a0a98d898ff3ff4ae7b (patch) | |
| tree | f4282cf1eea9e2fb184ca95df605a06b1fe6580c | |
| parent | a9afcfa5b6c6e071aefe708b865b37124ba54d1f (diff) | |
cr solr product
| -rw-r--r-- | indoteknik_custom/models/solr/product_template.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/solr/product_template.py b/indoteknik_custom/models/solr/product_template.py index 1d54cc9b..87e8370f 100644 --- a/indoteknik_custom/models/solr/product_template.py +++ b/indoteknik_custom/models/solr/product_template.py @@ -91,6 +91,7 @@ class ProductTemplate(models.Model): "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), + 'image_mobile_s': self.env['ir.attachment'].api_image('product.template', 'image_256', template.id), "variant_total_i": template.product_variant_count, "stock_total_f": template.qty_stock_vendor, "weight_f": template.weight, |
