diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-02-04 15:35:41 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-02-04 15:35:41 +0700 |
| commit | 0bf3a1d1db07ee8306d81443cc4dba94b3740808 (patch) | |
| tree | ba0bfd28a31b962ea54f8d98741c575459e13834 | |
| parent | dd0158651c5fa665cde6c534e7f4283f86adafc9 (diff) | |
update code sale order
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 1 |
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') |
