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-13 08:56:20 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-13 08:56:20 +0700
commita9eac2968018d74c190ac376ce2b874e32ded3b6 (patch)
tree0c675d880a0a7d7ea873e328f4eb20955cb10342 /indoteknik_custom/models/user_pengajuan_tempo_request.py
parent812bdbebbbe1cc0b1cc6294491f7771a668a04bd (diff)
parent10ddd8835a98bbfe58abedf6a405929dfbbb76d0 (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.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')