summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-11-11 14:17:43 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-11-11 14:17:43 +0700
commitf1a8e2740bf42524be6dde351c694edb28786aef (patch)
tree76b0233b10ffa42a0a489ea92578955cc4452b3a /indoteknik_custom/models
parent0373d7545ec889d8cdfee6d09bb93123df5a60cb (diff)
(andri) fix ask approval
Diffstat (limited to 'indoteknik_custom/models')
-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 357d2395..7070717b 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -2759,10 +2759,10 @@ class SaleOrder(models.Model):
if user.is_leader or user.is_sales_manager:
return True
- if self.env.context.get("ask_approval") and user.id in (3401, 20, 3988):
+ if self.env.context.get("ask_approval") and user.id in (3401, 20, 3988, 17340):
return True
- if not self.env.context.get("ask_approval") and user.id in (3401, 20, 3988, 17340): # admin (fida, nabila, ninda)
+ if not self.env.context.get("ask_approval") and user.id in (3401, 20, 3988, 17340): # admin (fida, nabila, ninda, feby)
raise UserError("Yahaha gabisa confirm so, minta ke sales nya ajah")