summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/solr/product_template.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-09-25 10:08:00 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-09-25 10:08:00 +0700
commit8793cf3b8dea2c87024b4c9f49077cc8c6b982d8 (patch)
tree393d029409eb9d5be3df51f192f8140864460a37 /indoteknik_custom/models/solr/product_template.py
parent6cfbf125b6154a2dc0fe3aec6f433b94584c91fe (diff)
cr stock_total_f
Diffstat (limited to 'indoteknik_custom/models/solr/product_template.py')
-rw-r--r--indoteknik_custom/models/solr/product_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/solr/product_template.py b/indoteknik_custom/models/solr/product_template.py
index d8dec47c..9cb27c5b 100644
--- a/indoteknik_custom/models/solr/product_template.py
+++ b/indoteknik_custom/models/solr/product_template.py
@@ -92,7 +92,7 @@ class ProductTemplate(models.Model):
"product_id_i": template.id,
"image_s": self.env['ir.attachment'].api_image('product.template', 'image_512', template.id),
"variant_total_i": template.product_variant_count,
- "stock_total_f": template.qty_stock_vendor,
+ "stock_total_f": template.qty_available_bandengan,
"weight_f": template.weight,
"manufacture_id_i": template.x_manufacture.id or 0,
"manufacture_name_s": template.x_manufacture.x_name or '',