Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits:
9835560c by Cédric Krier at 2023-01-19T11:55:09+01:00
Create move for produced product without bom as output
Closes #12024
- - - - -
1 changed file:
- modules/production/production.py
Changes:
=====================================
modules/production/production.py
=====================================
@@ -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)
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/9835560ca8514efed6618de3c5a012cc34dda00f
--
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/9835560ca8514efed6618de3c5a012cc34dda00f
You're receiving this email because of your account on foss.heptapod.net.