summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-07-20 03:54:48 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-07-20 03:54:48 +0000
commit6e4e4d919fc3c3500934de17fb17856502171949 (patch)
tree50d91c4ca2513ee70eec7de87ad32302b1feab85
parent5c7992e9cfe016e2f45dbe2532514cd1b2b4bb81 (diff)
parent2f9a8ddd6c18c113dbe60ffec3881ef0e1a3829c (diff)
Merged in feature/iman-categories-homepage (pull request #171)
<iman> update sumber gambar solr
-rw-r--r--indoteknik_custom/models/solr/website_categories_management.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/solr/website_categories_management.py b/indoteknik_custom/models/solr/website_categories_management.py
index 2d7e889a..49f52378 100644
--- a/indoteknik_custom/models/solr/website_categories_management.py
+++ b/indoteknik_custom/models/solr/website_categories_management.py
@@ -76,7 +76,7 @@ class WebsiteCategoriesManagement(models.Model):
document.update({
'id': category.id,
'category_id_i': category.category_id.id,
- 'image_s': self.env['ir.attachment'].api_image('product.public.category', 'image', category.category_id.id),
+ 'image_s': self.env['ir.attachment'].api_image('product.public.category', 'image_1920', category.category_id.id),
'name_s': category.category_id.name,
'sequence_i': category.sequence or '',
'category_id2_s': category_id2_json,