summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndriFP <andrifebriyadiputra@gmail.com>2025-04-30 08:18:07 +0700
committerAndriFP <andrifebriyadiputra@gmail.com>2025-04-30 08:18:07 +0700
commit9642f8efdd9b7a63b58788251959e5968db8d7ee (patch)
treec2b91e215828566a0490fb7ad6de04c733cf389f
parenta2a05e1183f9829b09d2e065815cb3618cc05049 (diff)
(andri) delete comment code
-rwxr-xr-xindoteknik_custom/models/sale_order.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index ab63509b..b0643874 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -1457,7 +1457,6 @@ 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'