summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/user_pengajuan_tempo_request.py
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2025-01-20 09:27:06 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2025-01-20 09:27:06 +0700
commit464292a0eb2b9353f499a541991e4d88a76c2d82 (patch)
treef8287645e73b4c23cad3e3dc50af177d34a51b94 /indoteknik_custom/models/user_pengajuan_tempo_request.py
parente3e7f29ad939a774878316e46e10a5c1370fda77 (diff)
parent1b2b27941fcdaa1b1b6ddf2a4851d358abb259eb (diff)
Merge branch 'odoo-production' into feature/integrasi_biteship
# Conflicts: # indoteknik_custom/security/ir.model.access.csv
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 f5261cd4..b43f56ac 100644
--- a/indoteknik_custom/models/user_pengajuan_tempo_request.py
+++ b/indoteknik_custom/models/user_pengajuan_tempo_request.py
@@ -332,7 +332,7 @@ class UserPengajuanTempoRequest(models.Model):
self.pengajuan_tempo_id.dokumen_tempat_bekerja = self.dokumen_tempat_bekerja
@api.onchange('tempo_duration')
- def _tempo_duration_change(self, vals):
+ def _tempo_duration_change(self):
for tempo in self:
if tempo.env.user.id not in (7, 377, 12182):
raise UserError("Durasi tempo hanya bisa di ubah oleh Sales Manager atau Direktur")