diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-02-18 09:16:09 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-02-18 09:16:09 +0700 |
| commit | cbe7af2817b0a18097ace08e63e32e02d7ce4c26 (patch) | |
| tree | bf7d14c118f9cec65c9a2927f71d66ba0655c14e | |
| parent | 5f14f6eb9256a7bbdbab8b5ba5482939a479f59a (diff) | |
<iman> CR margin approve leader jadi < 15% not <= 15
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index 24b1d85c..430b4526 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -1119,7 +1119,7 @@ class SaleOrder(models.Model): return False def _requires_approval_margin_leader(self): - return self.total_percent_margin <= 15 and not self.env.user.is_leader + 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 |
