50ffc339991b136b48525b2d60aa34a3039bb8da
Before this commit, when the `Milestones` feature is disable, the user can always defined a service product with invoice policy equals to 'Based on Milestones' but since the feature is disabled he cannot add this product on a milestone and so this configuratiom is useless without the feature. This commit removes the item into the invoice_policy field Selection when the feature is disabled. Moreover, when the feature is disabled, the existing products with this setting should be updated to be a service product with `invoice_policy='delivered_manual'`. The quantity delivered method of the existing SOLs containing those products should also be updated to allow the user to manually edit the quantity delivered of those SOLs when the `Milestones` feature is disabled. However, when the `Milestones` feature is enabled again, only the products contained in SOL linked to a milestone will be updated because we cannot assume all service products with `invoice_policy='delivered_manual'` were a service products with invoice policy based on Milestones. Also the existing SOLs containing the products updated will not be updated too to not impact the quantity delivered. task-2829542
…
…
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%