summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-11-11 14:43:00 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-11-11 14:43:00 +0700
commitb74b5bc94ed7a84ca2387fc0373f25b5eb27593d (patch)
treeb2fae4b67c71c696b51e430ba5b3910e59c40605
parentf1a8e2740bf42524be6dde351c694edb28786aef (diff)
(andri) fix usererror
-rwxr-xr-xindoteknik_custom/models/sale_order.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index 7070717b..1d34374e 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -2763,8 +2763,7 @@ class SaleOrder(models.Model):
return True
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")
-
+ raise UserError("Sales Admin tidak bisa confirm SO, silahkan hubungi Salesperson yang bersangkutan.")
salesperson_id = self.user_id.id
approver_id = user.id