diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-08-26 10:31:43 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-08-26 10:31:43 +0700 |
| commit | 89e215ea1eb0b7da9e34d4d21e82005178678c68 (patch) | |
| tree | 4562ee25030c55d2fd6004225ac465bdb5542046 | |
| parent | 0a8051c97c6ca5161469db89857d698ea1d0ec0a (diff) | |
add logo manufacture to solr
| -rw-r--r-- | indoteknik_custom/models/solr/product_product.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/solr/product_product.py b/indoteknik_custom/models/solr/product_product.py index f09c2dfb..ce85527c 100644 --- a/indoteknik_custom/models/solr/product_product.py +++ b/indoteknik_custom/models/solr/product_product.py @@ -65,6 +65,7 @@ class ProductProduct(models.Model): 'manufacture_name': variant.product_tmpl_id.x_manufacture.x_name or '', 'image_promotion_1_s': ir_attachment.api_image('x_manufactures', 'image_promotion_1', variant.product_tmpl_id.x_manufacture.id), 'image_promotion_2_s': ir_attachment.api_image('x_manufactures', 'image_promotion_2', variant.product_tmpl_id.x_manufacture.id), + 'x_logo_manufacture_s': ir_attachment.api_image('x_manufactures', 'x_logo_manufacture', variant.product_tmpl_id.x_manufacture.id), 'category_id_i': category_id, 'category_name_s': category_name, 'category_name': category_name, |
