diff options
| author | Indoteknik . <andrifebriyadiputra@gmail.com> | 2025-04-30 15:28:43 +0700 |
|---|---|---|
| committer | Indoteknik . <andrifebriyadiputra@gmail.com> | 2025-04-30 15:28:43 +0700 |
| commit | ee062e41281b7a1f582ff299ba4c671a4bbbe24d (patch) | |
| tree | 7a89bf29fbbd9e11c224032772c16cb33d1e7fc6 | |
| parent | a73856faaa1999b0c5ec20c41b37fda8a8eed31a (diff) | |
(andri) undo penyesuaian margin pada branch ini (agar tidak konflik)
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 1 |
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' |
