Allow to add items in manufacturing process which are not part of bom items (#12110)
This commit is contained in:
parent
78a17355be
commit
84da00da2f
@ -49,6 +49,9 @@ class StockEntry(StockController):
|
|||||||
self.validate_with_material_request()
|
self.validate_with_material_request()
|
||||||
self.validate_batch()
|
self.validate_batch()
|
||||||
|
|
||||||
|
if not self.from_bom:
|
||||||
|
self.fg_completed_qty = 0.0
|
||||||
|
|
||||||
if self._action == 'submit':
|
if self._action == 'submit':
|
||||||
self.make_batches('t_warehouse')
|
self.make_batches('t_warehouse')
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user