509a32c3dc11c68f4c5752e4b66e19462992aaf1
Fixes 2 issues: Issue 1: wrong view shown when registering strict consumption To reproduce: - create tracked product to subcontract - create subcontract BoM with no tracked components + strict consumption - create receipt of subcontracted product (remember to select From = subcontractor) - click on `action_show_details` burger button in Operations Expected result: - Detailed Operations window with no move lines in it (i.e. stock.view_stock_move_nosuggest_operations view) Actual Result: - Detailed Operations window with move lines w/ 0 Done (i.e. stock.view_stock_move_operations view _ lines also do not get filled in when using the `action_assign_serial_show_details`, => twice as many lines as needed end up in view)i Similar issue can occur when using a non-strict BoM + tracked product. Issue appears to be that conditional was incorrectly updated during refactoring to allow non-strict BoMs also record components. stock.view_stock_move_operations view should only appear when all productions are recorded Issue 2: Consumption warning wizard not showing correctly To reproduce: - same as Issue 1, except consume less than BoM amount Expected result: Consumption Wizard Actual Result: stock move view shown instead Issue was due to 'form_view_ref' value in context of picking view, therefore we force clear this value everytime we expect this wizard to open. Task: 2695173 X-original-commit: b9990a5dab8731a8f69fd07aa73a318fc9d4a808 Part-of: odoo/odoo#81649
…
…
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%