diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-10-20 13:18:14 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-10-20 13:18:14 +0700 |
| commit | 29b3ec084ed1791330551c5de34f045565eef6f1 (patch) | |
| tree | 39d015457dd67b27d5374ee08cb78478b901d7b6 | |
| parent | 2a61388ec5938888710d7c15f660f19ed55def51 (diff) | |
push
| -rwxr-xr-x | indoteknik_custom/models/purchase_order.py | 2 |
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: |
