summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/tukar_guling.py2
1 files changed, 1 insertions, 1 deletions
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.")