diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-02-25 11:47:47 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-02-25 11:47:47 +0700 |
| commit | d5d7948d38ca1893317c6eb379fbdbacdb14a996 (patch) | |
| tree | f3d166149a28a0c829199c85ae3329651950585a /indoteknik_custom/models/sale_order.py | |
| parent | 63c712cd38666723a112899d49af3ee82af9bf89 (diff) | |
| parent | 6eecc5ecd377e6e7b69519294259b8e66cd8e564 (diff) | |
Merge branch 'odoo-production' into CR/number-adjusment
Diffstat (limited to 'indoteknik_custom/models/sale_order.py')
| -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 430b4526..e23f39bc 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -1122,7 +1122,7 @@ class SaleOrder(models.Model): 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 + 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' |
