diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-02-25 11:40:28 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-02-25 11:40:28 +0700 |
| commit | 6eecc5ecd377e6e7b69519294259b8e66cd8e564 (patch) | |
| tree | 4e6ef9419cb9853d2ab02864a9146f94b4ae09a3 | |
| parent | ab1ba4b2b482b207a39ae17e43cdac4b1abb72ce (diff) | |
fix error
| -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 9c05780b..faf0955d 100755 --- a/indoteknik_custom/models/purchase_order.py +++ b/indoteknik_custom/models/purchase_order.py @@ -959,7 +959,7 @@ class PurchaseOrder(models.Model): sales_price -= sale_order_line.fee_third_party_line sum_sales_price += sales_price purchase_price = line.price_subtotal - if line.order_id.total_delivery_amount > 0 and line.order_id.total_cost_service > 0: + if line.order_id.total_delivery_amt > 0 and line.order_id.total_cost_service > 0: if line.taxes_id.id == 22: ending_price = line.ending_price / 1.11 purchase_price = ending_price |
