summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-08-08 14:44:07 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-08-08 14:44:07 +0700
commit9951cd96e968f0e3b934dd97838f4825e6d27c6b (patch)
tree81d4a2ceb0c84e512992c90c990ebaba8c6ab887
parent678f0a55a4e340ed8fb448a528cb738e10ed84bd (diff)
(andri) fix
-rwxr-xr-xindoteknik_custom/models/sale_order.py4
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'