diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-07-24 09:20:55 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-07-24 09:20:55 +0700 |
| commit | 4b1e8b9c5d516daf80e78212acfe28f7e518a4ba (patch) | |
| tree | 12e332857f66503d4d7592a5faa756ecc4787f76 | |
| parent | 3614078d30a5dd148d11720963eb49cb2d2cc886 (diff) | |
<miqdad> date logistic
| -rw-r--r-- | indoteknik_custom/models/tukar_guling.py | 2 |
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.") |
