summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/sale_order.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-06-02 09:23:07 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-06-02 09:23:07 +0700
commit2bc522f12795bbd649d28fbc6f127df2ebac34ee (patch)
tree0dfebb75f458c738f63593313b0e19e917e85860 /indoteknik_custom/models/sale_order.py
parent1a0b0cb4a740d831f69ea29943cfa0aed8e31fac (diff)
parent484b0e613d0d021faa11c619087baf36e4eacd09 (diff)
<hafid> fix email to Putra & Darren in pengajuan Tempo
Diffstat (limited to 'indoteknik_custom/models/sale_order.py')
-rwxr-xr-xindoteknik_custom/models/sale_order.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index f89dfb10..fa570819 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -1259,6 +1259,7 @@ class SaleOrder(models.Model):
self._validate_order()
for order in self:
+ order._validate_delivery_amt()
order._validate_uniform_taxes()
order.order_line.validate_line()
order.check_data_real_delivery_address()
@@ -1501,6 +1502,7 @@ class SaleOrder(models.Model):
def action_confirm(self):
for order in self:
+ order._validate_delivery_amt()
order._validate_uniform_taxes()
order.check_duplicate_product()
order.check_product_bom()
@@ -1962,7 +1964,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._check_total_margin_excl_third_party()
# order._update_partner_details()
return order