summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/sale_order.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-02-25 13:41:56 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-02-25 13:41:56 +0700
commitc9f221da247bb35c0c1005e5d8888d7ab1a4bf37 (patch)
tree2b071deda75de6efb9b6c4082dc7ea424207a32a /indoteknik_custom/models/sale_order.py
parent093bd33ba36ba123a53853e7407e534f9f23734b (diff)
parent8539e68a94c09fe9496f7d93fda8961fcd254211 (diff)
Merge branch 'odoo-production' into CR/renca-voucher
Diffstat (limited to 'indoteknik_custom/models/sale_order.py')
-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 430b4526..e23f39bc 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -1122,7 +1122,7 @@ class SaleOrder(models.Model):
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
+ return self.total_percent_margin >= 15 and not self.env.user.is_leader and not self.env.user.is_sales_manager
def _create_approval_notification(self, approval_role):
title = 'Warning'