summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-11-06 14:48:25 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-11-06 14:48:25 +0700
commit36f41bba0ae97578b7389e0db1b9ffaad68b109f (patch)
treed45b745ff2654614e8fc8e0a39a24541f478f3ef
parent73908f6f60b4c5f3d7b7cd3a1a3ab04495de2047 (diff)
parentaf30e94cff35eec4b71cb89fbe7a9a4f654480cb (diff)
<Miqdad> merge
-rwxr-xr-xindoteknik_custom/models/sale_order.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index 73af811b..1d07a1ff 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -2703,6 +2703,7 @@ class SaleOrder(models.Model):
def _requires_approval_team_sales(self):
return (
+ # 18 <= self.total_percent_margin <= 24
self.total_percent_margin >= 18
and self.env.user.id not in [11, 9, 375] # Eko, Ade, Putra
and not self.env.user.is_sales_manager