add hr_timesheet_sheet_no_review, hr_timesheet_sheet_holidays, hr_timesheet_sheet_delete_cascade
This commit is contained in:
parent
b07082f70d
commit
8b0d0bb6cc
53 changed files with 3953 additions and 0 deletions
16
hr_timesheet_sheet_delete_cascade/readme/ROADMAP.rst
Normal file
16
hr_timesheet_sheet_delete_cascade/readme/ROADMAP.rst
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
* Public holidays generate timesheet entries carrying ``global_leave_id``
|
||||
instead of ``holiday_id``. Neither policy applies to them: they do not belong
|
||||
to a single employee and there is no balance to restore. They are deleted
|
||||
with the sheet like any other entry, and they are removed on their own when
|
||||
the public holiday itself is deleted, through the ``ondelete='cascade'`` of
|
||||
the field.
|
||||
|
||||
* The ``cancel`` policy refuses, resets and deletes the time off request. An
|
||||
installation that wants to keep a history of the cancelled requests would
|
||||
stop at the refusal, which is already where the days are restored to the
|
||||
balance. It is a known variant and it is not implemented.
|
||||
|
||||
* The confirmation wizard reads the time off requests in ``sudo`` under the
|
||||
``cancel`` policy, because a timesheet manager entitled to delete the sheet
|
||||
of another employee is not necessarily entitled to read that employee's time
|
||||
off.
|
||||
Loading…
Add table
Add a link
Reference in a new issue