summaryrefslogtreecommitdiff
path: root/indoteknik_api/controllers/product_controller.py
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_api/controllers/product_controller.py')
-rw-r--r--indoteknik_api/controllers/product_controller.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_api/controllers/product_controller.py b/indoteknik_api/controllers/product_controller.py
index a57cf0a5..6101952f 100644
--- a/indoteknik_api/controllers/product_controller.py
+++ b/indoteknik_api/controllers/product_controller.py
@@ -51,9 +51,9 @@ class ProductController(controller.Controller):
discount_price = 0
price = product_template.web_price
if price > 0:
- if product_template.taxes_id:
- if not product_template.taxes_id.price_include:
- price += (price * product_template.taxes_id.amount / 100)
+ if product_template.web_tax_id:
+ if not product_template.web_tax_id.price_include:
+ price += (price * product_template.web_tax_id.amount / 100)
else:
price += (price * 11 / 100)