summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/manufacturing.py
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/models/manufacturing.py')
-rw-r--r--indoteknik_custom/models/manufacturing.py4
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')