diff options
| author | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-11-11 14:43:00 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-11-11 14:43:00 +0700 |
| commit | b74b5bc94ed7a84ca2387fc0373f25b5eb27593d (patch) | |
| tree | b2fae4b67c71c696b51e430ba5b3910e59c40605 | |
| parent | f1a8e2740bf42524be6dde351c694edb28786aef (diff) | |
(andri) fix usererror
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 3 |
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 |
