summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/user_pengajuan_tempo_request.py
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-06 09:45:36 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-06 09:45:36 +0700
commit5e34ad0df7287da35089c29812a208d15598aa06 (patch)
tree2f3dc62e050569a604bc52d2eb18ea98fb9c1981 /indoteknik_custom/models/user_pengajuan_tempo_request.py
parent3a6a1723928fb250f08376107be006b0567a3f1a (diff)
parentd3fc7f9dfbd3df9687c9531813ac59c3318c6b43 (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into pum-v3
Diffstat (limited to 'indoteknik_custom/models/user_pengajuan_tempo_request.py')
-rw-r--r--indoteknik_custom/models/user_pengajuan_tempo_request.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/user_pengajuan_tempo_request.py b/indoteknik_custom/models/user_pengajuan_tempo_request.py
index 600381c0..8ed92fc8 100644
--- a/indoteknik_custom/models/user_pengajuan_tempo_request.py
+++ b/indoteknik_custom/models/user_pengajuan_tempo_request.py
@@ -381,7 +381,8 @@ class UserPengajuanTempoRequest(models.Model):
if tempo.env.user.id in (688, 28, 7):
raise UserError("Pengajuan tempo harus di approve oleh sales manager terlebih dahulu")
else:
- if tempo.env.user.id not in (375, 19):
+ # if tempo.env.user.id not in (375, 19):
+ if tempo.env.user.id != 19:
# if tempo.env.user.id != 12182:
raise UserError("Pengajuan tempo hanya bisa di approve oleh sales manager")
else: