diff options
| author | Indoteknik . <it@fixcomart.co.id> | 2025-07-23 16:52:53 +0700 |
|---|---|---|
| committer | Indoteknik . <it@fixcomart.co.id> | 2025-07-23 16:52:53 +0700 |
| commit | e661868aa6a593114de434dcd0d1b01d8ca3b426 (patch) | |
| tree | e457ed4634cbc2edffdc6db4bb0e76abe0b4e156 | |
| parent | 87f38f9fcb68f04a2cc8157744622c2d0ebf1eab (diff) | |
(andri) fix total margin SO keitung 2x
| -rw-r--r-- | indoteknik_custom/models/sale_order_line.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/sale_order_line.py b/indoteknik_custom/models/sale_order_line.py index 2a0160e8..5e9fc362 100644 --- a/indoteknik_custom/models/sale_order_line.py +++ b/indoteknik_custom/models/sale_order_line.py @@ -173,8 +173,8 @@ class SaleOrderLine(models.Model): # minus with delivery if covered by indoteknik if line.order_id.shipping_cost_covered == 'indoteknik': sales_price -= line.delivery_amt_line - if line.order_id.fee_third_party > 0: - sales_price -= line.fee_third_party_line + # if line.order_id.fee_third_party > 0: + # sales_price -= line.fee_third_party_line purchase_price = line.purchase_price if line.purchase_tax_id.price_include: |
