ccbd6712f6f2797a00aa165ded3292d355fcc5a0
Usecase to reproduce: - Create a MO for 5 final units - Reserve all the components - Produce 3 units - Post Inventory (debug mode) - Edit/Unlock - Edit a line to consume to an arbitrary amount of quantity - Change the product qty and set it to 3. At this point, the reserved quantity and the quantity to consume still the same than intialy even if the final quantity was updated. - Mark as done Then a move is marked as done withtout quantity done and still have reserved quantity. It happens because the _update_raw_move function do nothing if the new quantity to consume is equals to 0. The arguments returns in _update_raw_move still exists for override but are not used by the chang_prod_qty method. It's not possible to cancel the move and then find its parents in order to log the activity. opw-2023653 closes odoo/odoo#34471 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%