summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-02-04 15:35:41 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-02-04 15:35:41 +0700
commit0bf3a1d1db07ee8306d81443cc4dba94b3740808 (patch)
treeba0bfd28a31b962ea54f8d98741c575459e13834
parentdd0158651c5fa665cde6c534e7f4283f86adafc9 (diff)
update code sale order
-rwxr-xr-xindoteknik_custom/models/sale_order.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index 132aa397..4bdd9f2c 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -980,6 +980,7 @@ class SaleOrder(models.Model):
def action_confirm(self):
for order in self:
+ order.check_credit_limit()
if self.validate_different_vendor() and not self.vendor_approval:
return self._create_notification_action('Notification', 'Terdapat Vendor yang berbeda dengan MD Vendor')