summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-11-10 11:26:49 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-11-10 11:26:49 +0700
commitc15634a9fba8338c07e3933a893850b8962ce441 (patch)
tree63469be7192250139f784b1755b05bed778ccd5a
parent1e3ab6c5d7b34e302d07bdb303982c87aaf59123 (diff)
(andri) fix
-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 bc33e8e6..37f8b9cc 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -2317,7 +2317,7 @@ class SaleOrder(models.Model):
raise UserError("Terdapat DUPLIKASI data pada Product {}".format(line.product_id.display_name))
def sale_order_approve(self):
- # self.check_duplicate_product()
+ self.check_duplicate_product()
self.check_product_bom()
self.check_credit_limit()
self.check_limit_so_to_invoice()
@@ -2588,7 +2588,7 @@ class SaleOrder(models.Model):
for order in self:
order._validate_delivery_amt()
order._validate_uniform_taxes()
- # order.check_duplicate_product()
+ order.check_duplicate_product()
order.check_product_bom()
order.check_credit_limit()
order.check_limit_so_to_invoice()