-
- Downloads
[FIX] mrp: split call to write on stock move
You can, in a production order, change the quantity done of a stock move raw and change its initial demand ('To Consume' field) in the same transaction. This can lead to some issue as changing the quantity done will update the stock move line and changing the initial demand will unreserve the stock move thus impacting the stock move lines too. This commit will split the values to update of a stock in move in case the two fields have to be updated. First the stock move lines, then the initial demand. This commit also remove the default_product_uom_qty in the move_raw_ids fields. This ensure the onchanges do not create/edit any stock move lines with some reserved quantity. opw : 2451298 closes odoo/odoo#70975 X-original-commit: e8c1f6b1a3f58b68181bf4d2599bd37efb83b5c7 Signed-off-by:agr-odoo <agr-odoo@users.noreply.github.com> Signed-off-by:
William Henrotin <Whenrow@users.noreply.github.com>
Loading
Please register or sign in to comment