diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-06-07 10:29:19 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-06-07 10:29:19 +0700 |
| commit | 48474fcef12509f736be0cb6af47618601dbfe61 (patch) | |
| tree | 2f82cf0f26caa507102b1d08e2fa647974788a0d /indoteknik_custom/models/manufacturing.py | |
| parent | 25ad8547cc4aab608478d52352d834579f26c88d (diff) | |
remove useless validation in manufacturing order and custom landed cost
Diffstat (limited to 'indoteknik_custom/models/manufacturing.py')
| -rw-r--r-- | indoteknik_custom/models/manufacturing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/manufacturing.py b/indoteknik_custom/models/manufacturing.py index 15756e44..2455a117 100644 --- a/indoteknik_custom/models/manufacturing.py +++ b/indoteknik_custom/models/manufacturing.py @@ -25,8 +25,8 @@ class Manufacturing(models.Model): return super(Manufacturing, self).button_mark_done() for line in self.move_raw_ids: - if line.quantity_done > 0 and line.quantity_done != self.product_uom_qty: - raise UserError('Qty Consume per Line tidak sama dengan Qty to Produce') + # if line.quantity_done > 0 and line.quantity_done != self.product_uom_qty: + # raise UserError('Qty Consume per Line tidak sama dengan Qty to Produce') if line.forecast_availability != line.product_uom_qty: raise UserError('Qty Reserved belum sesuai dengan yang seharusnya') |
