diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-05-10 07:43:40 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-05-10 07:43:40 +0000 |
| commit | e2cf27c1fc540ad24b457d23c89ddd1ea4e6034a (patch) | |
| tree | a635964dbd0b9729c1d161e16ca7e8dabb02a3c8 /indoteknik_api/controllers | |
| parent | cb9ae6021dd4858372ed78d16ab491226c95f1d2 (diff) | |
| parent | 844339e517540826f6990456a63945dc879e37d5 (diff) | |
Merged in dev/request-by-abl (pull request #141)
Dev/request by abl
Diffstat (limited to 'indoteknik_api/controllers')
| -rw-r--r-- | indoteknik_api/controllers/api_v1/sale_order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_api/controllers/api_v1/sale_order.py b/indoteknik_api/controllers/api_v1/sale_order.py index 50f57c9a..957d49c7 100644 --- a/indoteknik_api/controllers/api_v1/sale_order.py +++ b/indoteknik_api/controllers/api_v1/sale_order.py @@ -160,7 +160,7 @@ class SaleOrder(controller.Controller): if partner.web_role: sale_order.web_approval = 'cust_%s' % partner.web_role - if sale_order.web_approval == 'cust_director': + if sale_order.web_approval in ['cust_procurement', 'cust_director']: sale_order.approval_status = 'pengajuan1' return self.response('success') |
