summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindoteknik_custom/models/purchase_order_line.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/purchase_order_line.py b/indoteknik_custom/models/purchase_order_line.py
index f4995b16..465944d5 100755
--- a/indoteknik_custom/models/purchase_order_line.py
+++ b/indoteknik_custom/models/purchase_order_line.py
@@ -111,7 +111,7 @@ class PurchaseOrderLine(models.Model):
if system_last_update > human_last_update:
price = purchase_price.system_price
- taxes = purchase_price.taxes_system_id.id
+ taxes = [purchase.taxes_system_id.id for purchase in purchase_price ]
else:
price = purchase_price.product_price
taxes = [purchase.taxes_product_id.id for purchase in purchase_price ]