f4bb6e5d3425f61cbb8b54646a9df4b171888257
When an allocation have as leave type hours, and have the mode different from 'By Employee', the stored duration (in days) is calculated dividing the filed number of hours by 8 (number of hours per days). During the validation, an allocation is created for each employee that match the mode chosen. In these allocations, before this commit, the number of hours displayed is calculated by multiplying the stored duration (in days) with the average number of hours of the employee. The problem is that in may cases the average number of hours of the employee is different from 8, and the display number of hours is not correct. Now, the number of hours is calculated with 8 when the allocation is created from another allocation. opw-1972133 closes odoo/odoo#33675 Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@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, 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%