7ed86b53cdfbab9a7867de328604850138692caf
Before the patch, validating a picking where one of its move do not have any quantity done nor quantity reserved resulted in the complete validation of the said move. This doesn't make sense and does not do what the help in the wizard indicate (process only *reserved* quantities). We also use this patch to clarify what the tests on this workflow is doing (test_immediate_validate_*). We completely replace the 3 as it was testing the `force_assign` mechanism, which methods are still present in v11 but unused. Instead this test is now testing the failing flow this commit is fixing. We thus adapt the `process` method of the immediate transfer to only process the move lines (move line = reservation). We also fix a case where nothing is reserved and nothing is done. In this case, the backorder wizard should not opens but instead an UserError telling the user to either cancel or process something. The testcase for this flow is test_immediate_validate_7. With these changes, the test `test_04_create_picking_update_saleorderline` was failing because one of the items in the so lines was a stockable product without stock. So before this patch, everything was processed, now there's a backorder wizard. We complete the patch and duplicate it with enough products in stock, so that the backorder wizard is not needed. opw-815056 opw-808126
…
…
…
…
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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%