Tuesday, October 8, 2024
1 change · saas-17.3
Miscellaneous changes
When the stock_move_line and stock_move have the same UoM everything works as expected. However, in the process of setting the done quantity from the move, to the move line, there are 2 places the wrong value is used in the compute, leading to misaligned data. This can, in a worst case, make a move with a quantity as done, and no supporting move lines. And no backorder created. Description of the issue/feature this PR addresses: This was raised in Odoo Ticket https://www.odoo.com/my
Original PR description
When the stock_move_line and stock_move have the same UoM everything works as expected. However, in the process of setting the done quantity from the move, to the move line, there are 2 places the wrong value is used in the compute, leading to misaligned data. This can, in a worst case, make a move with a quantity as done, and no supporting move lines. And no backorder created. Description of the issue/feature this PR addresses: This was raised in Odoo Ticket https://www.odoo.com/my/tasks/4033989 Current behavior before PR: Creates mismatched moves Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#172039