diff options
| author | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-10-15 15:13:19 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-10-15 15:13:19 +0700 |
| commit | 787ce986cc652bd92d0e477c11853eaef871b4e5 (patch) | |
| tree | 5b9df5e357e301d84554618e3592bdfd389c8178 /indoteknik_custom/models/user_pengajuan_tempo_request.py | |
| parent | c04dd5a6a38ba35b30a39ed6596514679067e541 (diff) | |
| parent | ee6d5d4433a397ca5cdf3474f29bcbd0b2553736 (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into matches-so-v2
Diffstat (limited to 'indoteknik_custom/models/user_pengajuan_tempo_request.py')
| -rw-r--r-- | indoteknik_custom/models/user_pengajuan_tempo_request.py | 2 |
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') |
