summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-02-18 08:27:26 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-02-18 08:27:26 +0700
commit5f14f6eb9256a7bbdbab8b5ba5482939a479f59a (patch)
treed274f989115587624e32c84c7b4b5acab23e2f28
parent0d5eacd028aec65ada197a99e3b77e641f646bb2 (diff)
<iman> CR back margin leader approval to 13%
-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 8a851a69..24b1d85c 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -1119,7 +1119,7 @@ class SaleOrder(models.Model):
return False
def _requires_approval_margin_leader(self):
- return self.total_percent_margin <= 13 and not self.env.user.is_leader
+ return self.total_percent_margin <= 15 and not self.env.user.is_leader
def _requires_approval_margin_manager(self):
return self.total_percent_margin <= 20 and not self.env.user.is_leader and not self.env.user.is_sales_manager