diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-08 15:05:19 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-08 15:05:19 +0700 |
| commit | 6188090965c5381fa120268a024a486e62056505 (patch) | |
| tree | 83ea345428b5b69f3e5094d2153d0f7a5364b923 | |
| parent | ef8a6f39e6967c592b14f5ebc1d4ebcdb6fd2f7b (diff) | |
<Miqdad> hilangin validasi sementara
| -rw-r--r-- | indoteknik_custom/models/tukar_guling_po.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/tukar_guling_po.py b/indoteknik_custom/models/tukar_guling_po.py index f2f37606..c65ac286 100644 --- a/indoteknik_custom/models/tukar_guling_po.py +++ b/indoteknik_custom/models/tukar_guling_po.py @@ -441,8 +441,8 @@ class TukarGulingPO(models.Model): ('state', '!=', 'cancel'), ], limit=1) - if existing_tukar_guling: - raise UserError("BU ini sudah pernah diretur oleh dokumen %s." % existing_tukar_guling.name) + # if existing_tukar_guling: + # raise UserError("BU ini sudah pernah diretur oleh dokumen %s." % existing_tukar_guling.name) picking = self.operations pick_id = self.operations.picking_type_id.id |
