diff options
| author | Indoteknik . <it@fixcomart.co.id> | 2025-08-08 14:44:07 +0700 |
|---|---|---|
| committer | Indoteknik . <it@fixcomart.co.id> | 2025-08-08 14:44:07 +0700 |
| commit | 9951cd96e968f0e3b934dd97838f4825e6d27c6b (patch) | |
| tree | 81d4a2ceb0c84e512992c90c990ebaba8c6ab887 | |
| parent | 678f0a55a4e340ed8fb448a528cb738e10ed84bd (diff) | |
(andri) fix
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index 5e3f8965..5eb90d83 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -2178,7 +2178,7 @@ class SaleOrder(models.Model): self.check_product_bom() self.check_credit_limit() self.check_limit_so_to_invoice() - order.approval_status = 'pengajuan1' + order.approval_status = 'approved' return self._create_approval_notification('Team Sales') raise UserError("Bisa langsung Confirm") @@ -2408,7 +2408,7 @@ class SaleOrder(models.Model): order.approval_status = 'pengajuan1' return self._create_approval_notification('Sales Manager') elif order._requires_approval_team_sales(): - order.approval_status = 'pengajuan1' + order.approval_status = 'approved' return self._create_approval_notification('Team Sales') order.approval_status = 'approved' |
