Commit 9835560c authored by Cédric Krier's avatar Cédric Krier
Browse files

Create move for produced product without bom as output

Closes #12024
parent f907ad193307
Pipeline #61517 passed with stages
in 14 minutes and 59 seconds
......@@ -489,7 +489,7 @@
if not production.bom:
if production.product:
move = production._move(
'input', production.product, production.uom,
'output', production.product, production.uom,
production.quantity)
if move:
move.unit_price = Decimal(0)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment