diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-12-04 10:58:46 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-12-04 10:58:46 +0700 |
| commit | 0aad5455df5d36ef87ab1cbd52030a3cf0bef1d8 (patch) | |
| tree | 836b3fe58aaf78cc2a6980ee669c332e0bd81ce4 /indoteknik_api/models/res_users.py | |
| parent | 585ce08efde0f61ba6462b8e303cb08615f0cf33 (diff) | |
<iman> update code pengajuan tempo
Diffstat (limited to 'indoteknik_api/models/res_users.py')
| -rw-r--r-- | indoteknik_api/models/res_users.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indoteknik_api/models/res_users.py b/indoteknik_api/models/res_users.py index 15aaa5a7..0c7dd96f 100644 --- a/indoteknik_api/models/res_users.py +++ b/indoteknik_api/models/res_users.py @@ -4,7 +4,7 @@ from odoo.http import request class ResUsers(models.Model): _inherit = 'res.users' - def api_single_response(self, res_user, with_detail='', payment_tempo= ''): + def api_single_response(self, res_user, with_detail=''): config = self.env['ir.config_parameter'] partner = res_user.partner_id @@ -19,8 +19,6 @@ class ResUsers(models.Model): tempo_progres = 'review' if is_tempo_request.state_tempo in ('draft','approval_sales','approval_finance') else '' if main_partner: partner_tempo = main_partner.get_check_payment_term() - if payment_tempo: - tempo_progres = payment_tempo data = { 'id': res_user.id, |
