diff options
| author | Jérome Maes <jem@openerp.com> | 2017-02-16 15:03:17 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2017-05-03 10:15:27 +0200 |
| commit | 30384249e11d1d74b19bf2b63d4fd9fe6a99bad1 (patch) | |
| tree | 64ac535c3b9ca8ab1239324750917da04b6a15b8 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 69631078baf33fbc782e316ef19a576fc8a27b86 (diff) | |
[ADD] project_timesheet_holidays: generate timesheet when on leaves
This commit proposes to allow to automatically generate timesheet lines
when an employee is on leaves. Project and task used for timesheeting
is globally configured on the company. Holidays type choose whether to
generate timesheets or not and take the company default configuration.
When an HR officer validates a leave request, analytic lines will be
generated for each day off. The unit amount will be based on the working
calendar of the employee taking the leave. Generated timesheet lines are
attached to the project and task configured on the holidays type.
Configuring timesheet lines generation at holiday type level allows to
tune the use of leave requests. You may have for example "home working"
holiday type that should not generate timesheets while "legal leaves"
should.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
