diff options
| author | Indoteknik . <it@fixcomart.co.id> | 2025-08-08 16:55:59 +0700 |
|---|---|---|
| committer | Indoteknik . <it@fixcomart.co.id> | 2025-08-08 16:55:59 +0700 |
| commit | be4952c12d51106b4cffd6b7de1be09562829331 (patch) | |
| tree | 4f5eb2f043deac9a94388f0b4ef1ad054555d352 | |
| parent | b5433f491d8dd8e8a11df31be53ad15538155904 (diff) | |
(andri) fix approval
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index 5eb90d83..125a049b 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -2528,6 +2528,9 @@ class SaleOrder(models.Model): if user.is_leader or user.is_sales_manager: return True + if user.id in (3401, 20, 3988): # admin (fida, nabila, ninda) + return True + if not self.team_id or not self.team_id.user_id: return True |
