summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-10 14:48:36 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-10 14:48:36 +0700
commitb0d0e26965ab1ba7aa0c5a607cc0a12a67546dfc (patch)
treeff8132f35296762429e6385be7738819b7eb2ba3
parent27657d8a4de29ae21ccc0562ab63dc7f1cd79f6b (diff)
(andri) fix
-rw-r--r--indoteknik_custom/models/user_pengajuan_tempo_request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/user_pengajuan_tempo_request.py b/indoteknik_custom/models/user_pengajuan_tempo_request.py
index 8ed92fc8..6e8498f7 100644
--- a/indoteknik_custom/models/user_pengajuan_tempo_request.py
+++ b/indoteknik_custom/models/user_pengajuan_tempo_request.py
@@ -365,7 +365,7 @@ class UserPengajuanTempoRequest(models.Model):
@api.onchange('tempo_duration')
def _tempo_duration_change(self):
for tempo in self:
- if tempo.env.user.id not in (7, 688, 28, 377, 12182, 375):
+ if tempo.env.user.id not in (7, 688, 28, 377, 12182, 375, 19):
raise UserError("Durasi tempo hanya bisa di ubah oleh Sales Manager atau Direktur")
@api.onchange('tempo_limit')