8d0e49ce6270d06f8ae7fbc1272363c491960c80
Usecase to reproduce: - Product A 0 unit in stock - Product B 10 unit in stock - Create planned delivery with product A and B - Do a wave transfer and selected reserved `stock.move.line` from product B Current behavior: The whole picking is move into the batch Desired behavior: The picking is splitted and only the move for product B is in a new batch It happens because the add_to_wave function check if all the picking `stock.move.line` are in the `stock.move.line` to batch. If it's the case, it moves the picking in the new batch. However in our case, some `stock.move` are not reserve and should not be move in the new batch. Also check if all the quantity is reserve on the `stock.move` if it's not the case split the move to only put the reserve quantity in the wave picking closes odoo/odoo#85038 X-original-commit: afe2a3a7f913459d88ef197e63bc897fda5f90f8 Signed-off-by: Arnold Moyaux <arm@odoo.com>
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%