From 215fde914a2eae20928b9e40a9a5dd1ac179c4e1 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Thu, 31 Aug 2023 14:06:21 +0700 Subject: fix error solr --- indoteknik_custom/models/solr/product_template.py | 1 + 1 file changed, 1 insertion(+) (limited to 'indoteknik_custom/models/solr/product_template.py') diff --git a/indoteknik_custom/models/solr/product_template.py b/indoteknik_custom/models/solr/product_template.py index 6ae0bec2..692eaa94 100644 --- a/indoteknik_custom/models/solr/product_template.py +++ b/indoteknik_custom/models/solr/product_template.py @@ -151,6 +151,7 @@ class ProductTemplate(models.Model): 'has_price_info_b': True }) self.solr().add([document]) + template.product_variant_ids._sync_price_to_solr() template.change_solr_data('Ada perubahan pada harga product') if not document.get('has_product_info_b'): -- cgit v1.2.3