summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/apache_solr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/apache_solr.py b/indoteknik_custom/models/apache_solr.py
index 7a773fd6..65e875cc 100644
--- a/indoteknik_custom/models/apache_solr.py
+++ b/indoteknik_custom/models/apache_solr.py
@@ -51,7 +51,7 @@ class ApacheSolr(models.Model):
'price_discount_f': price_excl_after_disc or template.product_variant_id._get_website_price_after_disc_and_tax(),
'tax_f': template.product_variant_id._get_website_tax(),
'variant_total_i': template.product_variant_count,
- 'stock_total_i': template.qty_stock_vendor,
+ 'stock_total_f': template.qty_stock_vendor,
'weight_f': template.weight,
'manufacture_id_i': template.x_manufacture.id or 0,
'image_promotion_1_s': self.env['ir.attachment'].api_image('x_manufactures', 'image_promotion_1', template.x_manufacture.id),