diff options
Diffstat (limited to 'indoteknik_custom')
| -rwxr-xr-x | indoteknik_custom/models/product_template.py | 2 |
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: |
