81e983443c63147c4f5a823225e1a9c19d81400a
Use case to reproduce: - Go for a delivery order and use show detailed operations mode - Have something reserved on a picking - Manually delete the stock.move.line -> The move state is not adapted to the new state of the stock move lines It happens because the move state is not computed not update on the move line unlink method. This commit use the existing move function in order to compute the state and add a test. A part of test_stock_flow_74 is updated. Since procurement refactoring make a move mto and confirm it will not work since purchase or mrp are not install (Usererror). Also do an unreserve on a draft move is not a real use case and should not pass it in waiting since moves orig are never created.
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%