diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-08-31 14:06:21 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-08-31 14:06:21 +0700 |
| commit | 215fde914a2eae20928b9e40a9a5dd1ac179c4e1 (patch) | |
| tree | ab98adf8d8661aec39deea6b981fbb8f4dd59001 /indoteknik_custom/models/solr/product_template.py | |
| parent | 3f9ee6e5297afbd7aad670eb061c069621af888e (diff) | |
fix error solr
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 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'): |
