summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2025-03-27 09:12:49 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2025-03-27 09:12:49 +0700
commita83022f278c3fbe6a8ed6ae92a2ffee2e4a7c992 (patch)
treed3d533c6db744e27827132b405a2739187dabd2e
parentbf59882cd2554229cc20dc75d790686f641522c4 (diff)
comment total margin excl third party
-rwxr-xr-xindoteknik_custom/models/sale_order.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index 3bf6ba14..4ebc5d34 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -1693,7 +1693,7 @@ class SaleOrder(models.Model):
order._compute_etrts_date()
order._validate_expected_ready_ship_date()
order._validate_delivery_amt()
- order._check_total_margin_excl_third_party()
+ # order._check_total_margin_excl_third_party()
# order._update_partner_details()
return order
@@ -1737,7 +1737,7 @@ class SaleOrder(models.Model):
res = super(SaleOrder, self).write(vals)
self._validate_delivery_amt()
- self._check_total_margin_excl_third_party()
+ # self._check_total_margin_excl_third_party()
if any(field in vals for field in ["order_line", "client_order_ref"]):
self._calculate_etrts_date()
if 'order_line' in vals: