summaryrefslogtreecommitdiff
path: root/indoteknik_custom
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom')
-rwxr-xr-xindoteknik_custom/models/product_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py
index a51f0600..5c75718a 100755
--- a/indoteknik_custom/models/product_template.py
+++ b/indoteknik_custom/models/product_template.py
@@ -32,7 +32,7 @@ class ProductTemplate(models.Model):
for product_template in self:
product_template.qty_stock_vendor = 0
for product_variant in product_template.product_variant_ids:
- product_template.qty_stock_vendor += product_variant.qty_stock_vendor
+ product_template.qty_stock_vendor += int(product_variant.qty_stock_vendor)
def _compute_web_price(self):
for template in self: