diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-08-25 08:06:08 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-08-25 08:06:08 +0700 |
| commit | a5fcc1fe80508de9c827d6f5c5d06db3262a8ab0 (patch) | |
| tree | 1bead753c59bda954e90fddfcf7c256a828de4b1 | |
| parent | f5f474ec51a1d3d872e6469a534157d2f2c8e828 (diff) | |
<Miqdad> Fix bug ccm
| -rw-r--r-- | indoteknik_custom/models/tukar_guling.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/tukar_guling.py b/indoteknik_custom/models/tukar_guling.py index 23b9f085..699ee670 100644 --- a/indoteknik_custom/models/tukar_guling.py +++ b/indoteknik_custom/models/tukar_guling.py @@ -417,8 +417,8 @@ class TukarGuling(models.Model): if not self.return_type: raise UserError("Return Type harus diisi!") - if operasi == 30 and self.operations.linked_manual_bu_out.state == 'done': - raise UserError("❌ Tidak bisa retur BU/PICK karena BU/OUT sudah done") + # if operasi == 30 and self.operations.linked_manual_bu_out.state == 'done': + # raise UserError("❌ Tidak bisa retur BU/PICK karena BU/OUT sudah done") if operasi == 30 and pp == 'tukar_guling': raise UserError("❌ BU/PICK tidak boleh di retur tukar guling") # else: |
