diff options
| author | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2025-12-10 13:18:18 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2025-12-10 13:18:18 +0700 |
| commit | 3a153b5deaf2c11d2deb8aca2318357e4496ac96 (patch) | |
| tree | 42c4298b6e45a6d366470d26b9d2905c04946dc9 /indoteknik_custom/models/tukar_guling_po.py | |
| parent | 8e6e3f900daac1b56cc7e101c7c491ef7eb320f5 (diff) | |
| parent | d746dacecc64c2effb9166b54808f0e81ea8303f (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into odoo-backup
Diffstat (limited to 'indoteknik_custom/models/tukar_guling_po.py')
| -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 |
