027ff77a9e113bc0aa097b3ee1f7a75fccd570c3
Usecase to reproduce - Create a BoM with finished product A and Comp C - Create a RR on product A with min qty 10 - Product A is tracked by serial number and have route manufacture - Run the scheduler twice. The finished tabs in the manufacturing order created from the order point contains 10 move lines with 1 qty reserved and 0 quantity done. The first run created the MO. The second run, assign the finished moves and thus created the move lines for finished product A. However those move line are not used by mrp because the workorder and the produce wizard will only create new lines instead of using existing lines with reservation. Also action_assign on MO only trigger _action_assign on raw moves. This commit add a hook on scheduler in order to modify the domain that will be used in order to search moves to assign. Use the hook in order to avoid move with the production_id many2one set. closes odoo/odoo#32597 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.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, 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%