summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/account_move_due_extension.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-01-16 15:49:53 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-01-16 15:49:53 +0700
commitf6ff283a44e321f63822dbb2d302d3f3cb07baf5 (patch)
treeced2674b3ff3a8d4ad44c17537289b5313fdd70c /indoteknik_custom/models/account_move_due_extension.py
parent40b0e30d359c917b6b22f6fb385a23026a7393bd (diff)
<iman> update pengajuan tempo dan tambah cek kredit limit
Diffstat (limited to 'indoteknik_custom/models/account_move_due_extension.py')
-rw-r--r--indoteknik_custom/models/account_move_due_extension.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/account_move_due_extension.py b/indoteknik_custom/models/account_move_due_extension.py
index 6fc58cdd..c48c2372 100644
--- a/indoteknik_custom/models/account_move_due_extension.py
+++ b/indoteknik_custom/models/account_move_due_extension.py
@@ -90,6 +90,7 @@ class DueExtension(models.Model):
return self.order_id._create_approval_notification('Pimpinan')
if self.order_id._requires_approval_margin_manager():
+ self.order_id.check_credit_limit()
self.order_id.approval_status = 'pengajuan1'
return self.order_id._create_approval_notification('Sales Manager')