diff options
| author | trisusilo48 <tri.susilo@altama.co.id> | 2024-11-06 16:47:04 +0700 |
|---|---|---|
| committer | trisusilo48 <tri.susilo@altama.co.id> | 2024-11-06 16:47:04 +0700 |
| commit | 659baaa6753ec030dc4d5d46564109c25caf865e (patch) | |
| tree | dbd0b32dc765b6f101a288b86c8cb0230cef6382 /indoteknik_custom/models/solr/product_template.py | |
| parent | 3b1c519848d69709aa64ff6078c7d2d45dc356b1 (diff) | |
| parent | 295088070b43c409c2114a0a98d898ff3ff4ae7b (diff) | |
Merge branch 'production' of https://bitbucket.org/altafixco/indoteknik-addons into production
Diffstat (limited to 'indoteknik_custom/models/solr/product_template.py')
| -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, |
