summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-07-24 09:20:55 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-07-24 09:20:55 +0700
commit4b1e8b9c5d516daf80e78212acfe28f7e518a4ba (patch)
tree12e332857f66503d4d7592a5faa756ecc4787f76
parent3614078d30a5dd148d11720963eb49cb2d2cc886 (diff)
<miqdad> date logistic
-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.")