summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2026-02-18 17:29:11 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2026-02-18 17:29:11 +0700
commit2f9d0c4be0a9b8602b745c4faba73ff132419a77 (patch)
treec514df62e00c4b633ad777960919c1820b993f29
parenta461efcda1637c267b3c4195eb0f7d649f10f145 (diff)
<Miqdad> remove vals BOM
-rw-r--r--indoteknik_custom/models/mrp_production.py4
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':