diff options
| author | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2026-02-27 16:58:31 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2026-02-27 16:58:31 +0700 |
| commit | 5af63f0a3c3a39cc52252c6a1235ef6dc3203c2a (patch) | |
| tree | c204c9973c94ebd411ac2d6feec0823b73d35984 | |
| parent | 82e3d96181f5d68a9fb405114aa361a8709fd70f (diff) | |
fix
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index 8eff613e..0cb6670e 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -2816,7 +2816,7 @@ class SaleOrder(models.Model): # LIMIT_VALUE = 50000000 LIMIT_VALUE = float(self.env['ir.config_parameter'].sudo().get_param('so.limit_value_approve', default='50000000')) return ( - self.amount_total > LIMIT_VALUE + self.amount_total >= LIMIT_VALUE and self.env.user.id not in [11, 9, 375] # Eko, Ade, Putra and not self.env.user.is_sales_manager and not self.env.user.is_leader |
