summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-03-26 09:29:51 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-03-26 09:29:51 +0700
commit88fc7a19f0493269d158c72067bc1ef403364f5f (patch)
tree192f2c4f9b2c10d52626a1d001fe7d5c09befceb
parentcc5362aed8b221289416457b72ab11d2aed49b83 (diff)
cr so
-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 a1e43b03..e7830780 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -1680,7 +1680,7 @@ class SaleOrder(models.Model):
order = super(SaleOrder, self).create(vals)
order._compute_etrts_date()
order._validate_expected_ready_ship_date()
- order._validate_delivery_amt()
+ # order._validate_delivery_amt()
# order._update_partner_details()
return order
@@ -1723,7 +1723,7 @@ class SaleOrder(models.Model):
"SO tidak dapat ditambahkan produk baru karena SO sudah menjadi sale order.")
res = super(SaleOrder, self).write(vals)
- self._validate_delivery_amt()
+ # self._validate_delivery_amt()
if any(field in vals for field in ["order_line", "client_order_ref"]):
self._calculate_etrts_date()
return res \ No newline at end of file