From 2f9d0c4be0a9b8602b745c4faba73ff132419a77 Mon Sep 17 00:00:00 2001 From: Mqdd Date: Wed, 18 Feb 2026 17:29:11 +0700 Subject: remove vals BOM --- indoteknik_custom/models/mrp_production.py | 4 ++-- 1 file 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': -- cgit v1.2.3