41ba2c136ae9fdd6098bf6fd3abb06bb0e14435f
When we create a sale order with multiples services which have different projet templates, the projects created will have the sum of all hours which is not true. Steps to reproduce the error : 1- create at least 2 product with type service and choose create on order : project & task , and create a template for each one on the fly 2- create a sale order with the created services and choose some quantity for each one of them 3- confirm it 4- Click on the smart button projects 5- you will see that the allocated hours for each project have the sum of all the quantities The origin of the problem is that we don't check on the template_id when calculating the allocated hours so we sum the allocated hours of all the services having project & task for each one of them . opw-3341546 closes odoo/odoo#125071 X-original-commit: 537a0093b0467f80aac6b1de2e93bf04c0298e5b Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by: Mahdi Cheikh Rouhou (macr) <macr@odoo.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, ...
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%