From 4b1e8b9c5d516daf80e78212acfe28f7e518a4ba Mon Sep 17 00:00:00 2001 From: Miqdad Date: Thu, 24 Jul 2025 09:20:55 +0700 Subject: date logistic --- indoteknik_custom/models/tukar_guling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indoteknik_custom/models/tukar_guling.py b/indoteknik_custom/models/tukar_guling.py index cd9a1bd1..d40c0ac8 100644 --- a/indoteknik_custom/models/tukar_guling.py +++ b/indoteknik_custom/models/tukar_guling.py @@ -498,8 +498,8 @@ class TukarGuling(models.Model): if not rec.env.user.has_group('indoteknik_custom.group_role_logistic'): raise UserError("Hanya Logistic Manager yang boleh approve tahap ini.") rec.state = 'done' - rec.date_logistic = now rec._create_pickings() + rec.date_logistic = now else: raise UserError("Status ini tidak bisa di-approve.") -- cgit v1.2.3