diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-01-16 15:49:53 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-01-16 15:49:53 +0700 |
| commit | f6ff283a44e321f63822dbb2d302d3f3cb07baf5 (patch) | |
| tree | ced2674b3ff3a8d4ad44c17537289b5313fdd70c /indoteknik_custom/models/sale_order.py | |
| parent | 40b0e30d359c917b6b22f6fb385a23026a7393bd (diff) | |
<iman> update pengajuan tempo dan tambah cek kredit limit
Diffstat (limited to 'indoteknik_custom/models/sale_order.py')
| -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 7b2d9bf8..48195b77 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -816,6 +816,7 @@ class SaleOrder(models.Model): order.approval_status = 'pengajuan2' return self._create_approval_notification('Pimpinan') elif order._requires_approval_margin_manager(): + self.check_credit_limit() order.approval_status = 'pengajuan1' return self._create_approval_notification('Sales Manager') |
