Odoo Help


Leaves per hour

Erwin van der Ploeg
on 2/23/13, 1:41 PM 2,362 views

How do you keep track of the leaves per hour. To my knowledge it can only be done, by day. But if you take a 1 hour leave, that is 0,125 day. So that will be 0,12 or 0,13 day. But imho you always have discussion with employee. So my question is, how do others solve this?

For this you have to add feature in resource module. by this you can able to resolve it. Also it bit difficult too. because of timezone issue too.

on 4/1/13, 10:34 AM

we need this as well. My colleague has figured a way, but we are still have trouble with the automatic calculation of the days. At present a day is calculated as 1.00 leave day if you do a 24 hours leave like 2013/08/01 08:00:00 - 2013/08/02 07:59:00. But no-one (except and ERP integrator) has a 24-hour work schedule, so you would get wrong results for a 4 hr leave (for example 2013/08/01 08:00:00 - 2013/08/01 12:00:00 doesn;t give you 0.50 (leave hours relative to a 24 hour day and not to the employees 8 hour work-day). I will post our solution once we have it running

on 8/26/13, 12:14 PM

I think the working time per resource is the solution to that. I'm very interested in your solution!

Endian Solutions B.V.
on 8/26/13, 2:28 PM
Mustafa Rawi
On 2/13/14, 10:31 AM

Try the Next Generation HR Modules set by Michael T. Makonnen. He has done magnificent work in his modules, and it allows you to calculate leaves with consideration of weekends and public holidays in addition to hourly wage calculation in payslips. A word of advice, try these modules in a development environment before you add them to your production one.


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 2/23/13, 1:41 PM
Seen: 2362 times
Last updated: 3/16/15, 8:10 AM