c7ff7f9bc26a8bb6a4358bfec9ee6f30e33569b7
Steps to reproduce: - Install Project, Timesheets. - Create a new porject with allocated hours set to 40 hours (5 days). - Taking into account that our company have a 8-hour/day work schedule (40 hours/week). - We go then to the timesheet app and we add a line for the project created with 8 hours as hours spent. - Now we got to the timesheet configuration and we change the uom to days. - We go back to the timesheet app and we see the result, we can also try to add just 1 day. Issue: The days are not properly computed, only when we are in hours are being computed properly. But when we change the uom to days, the computation that we see in the list will still be wrong. Solution: We really take into account which uom are we working with so we compute the time properly depending on the uom. opw-3138053 closes odoo/odoo#115049 X-original-commit: a31a1b6aff4db0415dc9c44bae33901f4833aba1 Signed-off-by: Xavier Bol (xbo) <xbo@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%