summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindoteknik_custom/models/purchase_order.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/purchase_order.py b/indoteknik_custom/models/purchase_order.py
index 7fc038a0..e79417aa 100755
--- a/indoteknik_custom/models/purchase_order.py
+++ b/indoteknik_custom/models/purchase_order.py
@@ -1369,7 +1369,7 @@ class PurchaseOrder(models.Model):
for rec in self:
if rec.from_apo:
rec.compute_total_margin_from_apo()
- continue
+ return
sum_so_margin = sum_sales_price = sum_margin = 0
for line in self.order_line: