summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndoteknik . <andrifebriyadiputra@gmail.com>2025-04-30 15:28:43 +0700
committerIndoteknik . <andrifebriyadiputra@gmail.com>2025-04-30 15:28:43 +0700
commitee062e41281b7a1f582ff299ba4c671a4bbbe24d (patch)
tree7a89bf29fbbd9e11c224032772c16cb33d1e7fc6
parenta73856faaa1999b0c5ec20c41b37fda8a8eed31a (diff)
(andri) undo penyesuaian margin pada branch ini (agar tidak konflik)
-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 b0643874..ab63509b 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -1457,6 +1457,7 @@ class SaleOrder(models.Model):
def _requires_approval_margin_manager(self):
return 15 < self.total_percent_margin <= 24 and not self.env.user.is_sales_manager and not self.env.user.is_leader
+ # 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'