e2a255717fb941fffa1fcc8ed0c5e390fba76618
When we validate a SO with an MTO product, then an RFQ and a delivery picking are created. The status of the delivery picking is in state 'confirmed', but should be 'waiting' as the delivery waits for a specific delivery input. The problem is caused by the unreserve method, which is called in the 'procurement_jit' module. This method only checks that a move has ancestors to determine if the move should be in waiting or in confirmed, which is not the case for our delivery move because the RFQ has not been validated yet so there is not ancestors yet. To fix this issue, we check the 'procure_method' of the move, and if it is in 'make_to_order' we put it in 'waiting' instead of 'confirmed'. We also fixed the function recalculate_move_state that could cause the same problem.
…
…
…
…
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, 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.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/9.0/odoo.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./odoo.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./odoo.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%