diff options
| -rw-r--r-- | indoteknik_custom/models/mrp_production.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/mrp_production.py b/indoteknik_custom/models/mrp_production.py index 02679458..3d2507dc 100644 --- a/indoteknik_custom/models/mrp_production.py +++ b/indoteknik_custom/models/mrp_production.py @@ -52,8 +52,8 @@ class MrpProduction(models.Model): result = super(MrpProduction, self).button_mark_done() for record in self: - if len(record.check_bom_product_lines) < 1: - raise UserError("Check Product Tidak Boleh Kosong") + # if len(record.check_bom_product_lines) < 1: + # raise UserError("Check Product Tidak Boleh Kosong") if not record.sale_order: raise UserError("Sale Order Tidak Boleh Kosong") if record.sale_order and record.state == 'confirmed': |
