diff options
| author | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2026-01-15 16:24:26 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2026-01-15 16:24:26 +0700 |
| commit | 662ece47fb1e2c3ad814007b9bd2930dd1261d79 (patch) | |
| tree | 9793f0096b55450fca085b7198e2dfa79c3f10f8 | |
| parent | e42aee6c9af962edad71603eaaaeceea8589dc7a (diff) | |
fix
| -rw-r--r-- | indoteknik_custom/models/solr/apache_solr.py | 6 | ||||
| -rw-r--r-- | indoteknik_custom/models/solr/product_product.py | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/indoteknik_custom/models/solr/apache_solr.py b/indoteknik_custom/models/solr/apache_solr.py index 21fb15d2..4d6f8db2 100644 --- a/indoteknik_custom/models/solr/apache_solr.py +++ b/indoteknik_custom/models/solr/apache_solr.py @@ -270,9 +270,9 @@ class ApacheSolr(models.Model): 'tax_f': tax, 'stock_total_f': variant.qty_stock_vendor, 'weight_f': variant.product_tmpl_id.weight, - 'has_magento_b': variant.has_magento, - 'attribute_set_id_i': variant.product_tmpl_id.x_attribute_set_id or 0, - 'attribute_set_name_s': variant.product_tmpl_id.x_attribute_set_name or '', + # 'has_magento_b': variant.has_magento, + # 'attribute_set_id_i': variant.product_tmpl_id.x_attribute_set_id or 0, + # 'attribute_set_name_s': variant.product_tmpl_id.x_attribute_set_name or '', 'manufacture_id_i': variant.product_tmpl_id.x_manufacture.id or 0, 'manufacture_name_s': variant.product_tmpl_id.x_manufacture.x_name or '', 'manufacture_name': variant.product_tmpl_id.x_manufacture.x_name or '', diff --git a/indoteknik_custom/models/solr/product_product.py b/indoteknik_custom/models/solr/product_product.py index a90bcb98..529aabbb 100644 --- a/indoteknik_custom/models/solr/product_product.py +++ b/indoteknik_custom/models/solr/product_product.py @@ -74,9 +74,9 @@ class ProductProduct(models.Model): 'image_mobile_s': ir_attachment.api_image('product.template', 'image_256', variant.product_tmpl_id.id), 'stock_total_f': variant.qty_free_bandengan, 'weight_f': variant.weight, - 'has_magento_b': variant.has_magento, - 'attribute_set_id_i': variant.product_tmpl_id.x_attribute_set_id or 0, - 'attribute_set_name_s': variant.product_tmpl_id.x_attribute_set_name or '', + # 'has_magento_b': variant.has_magento, + # 'attribute_set_id_i': variant.product_tmpl_id.x_attribute_set_id or 0, + # 'attribute_set_name_s': variant.product_tmpl_id.x_attribute_set_name or '', 'manufacture_id_i': variant.product_tmpl_id.x_manufacture.id or 0, 'manufacture_name_s': variant.product_tmpl_id.x_manufacture.x_name or '', 'manufacture_name': variant.product_tmpl_id.x_manufacture.x_name or '', |
