v 8.0 v 10.0 Third Party 115
Download for v 10.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Leave Management (hr_holidays)
Calendar (calendar)
Employee Directory (hr)
Discuss (mail)
Timesheets (hr_timesheet)
Invoicing (account)
Project (project)
Community Apps Dependencies
Technical Name hr_timesheet_holiday
LicenseAGPL-3
Websitehttps://github.com/OCA/hr-timesheet
Versions 10.0 8.0
You bought this module and need support? Click here!

HR Timesheet Holiday

This module adds a relation between Leave Types and Projects/Analytic Accounts. When a Leave Request is granted, the granted days are converted to hours and added as a line to the Analytic Account.

When the leave is revoked, the analytic lines are removed again.

The analytic lines are read-only, so you cannot edit them directly, just by granting or revoking leave requests.

The hours to input per day is configurable at company level.

Limitations:

  • Consider that the work days are Monday to Friday
  • Only allow leaves account linked to project

Configuration

To configure this module, you need to:

  1. Find your company in Settings - Companies and configure the amount of hours per workday under Configuration - Timesheets - Timesheet Hours Per Day.
  2. For each Leave Type under Human Resources - Leave Types, select a Project that allows timesheets or create one.

Usage

To use this module, you need to:

  1. Approve a Leave Request
  2. See the hours added to Timesheet Activities
  3. Revoke a Leave Request
  4. See the hours removed from Timesheet Activities

Known issues / Roadmap

  • Hours per workday should be configurable per employee, not only by company. To make this easier, the function _get_hours_per_day was made which can be overridden by child modules.
  • We should probably start using resource calendars.
  • hr_timesheet_sheet dependency can be changed to hr_timesheet, now only included because hr_timesheet_sheet adds the Timesheet configurations menu in Company view.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
Timesheet Details is registered for the Administrator User, not the Employee for whom the leave was submitted.
by
Pandora Design LLC
on 1/17/19, 12:47 AM

Timesheet Details is registered for the Administrator User, not the Employee for whom the leave was submitted. As a result while making timesheet for the employee who went on leave, the Leave Activity is not reflected. Because the User on Activity is selected Administrator, not the Employee.