diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-10 09:40:00 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2025-12-10 09:40:00 +0700 |
| commit | 6c740b7fcc4137fa59cee04cfbe0003529b31cd4 (patch) | |
| tree | c876a55931f5902565fd9713b44116202b894647 | |
| parent | f7c99e518ca9489e118f4c68f2d13ce91b0f1e84 (diff) | |
<MIqdad> hilangin validasi pernah di retur vcm
| -rw-r--r-- | indoteknik_custom/models/tukar_guling_po.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/models/tukar_guling_po.py b/indoteknik_custom/models/tukar_guling_po.py index 739898a1..ae58d509 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 @@ -787,4 +787,4 @@ class StockPicking(models.Model): ) picking.tukar_guling_po_id.message_post(body=message) - return res
\ No newline at end of file + return res |
