summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2026-02-27 16:58:31 +0700
committerFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2026-02-27 16:58:31 +0700
commit5af63f0a3c3a39cc52252c6a1235ef6dc3203c2a (patch)
treec204c9973c94ebd411ac2d6feec0823b73d35984
parent82e3d96181f5d68a9fb405114aa361a8709fd70f (diff)
fix
-rwxr-xr-xindoteknik_custom/models/sale_order.py2
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