Created by Sandy Carter (http://www.savoirfairelinux.com) and last modified
Get this branch:
bzr branch lp:~savoirfairelinux-openerp/openerp-hr/department_parent_cascade
Members of Savoir-faire Linux' OpenERP can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

68. By Sandy Carter (http://www.savoirfairelinux.com)

[FIX] Specificy on_delete='cascade' for parent_id of hr_department

67. By Maxime Chambreuil (http://www.savoirfairelinux.com)

[DEL] openobject-server patch
[REN] hr_payroll patch

65. By Michael Telahun Makonnen

Bugfix: Add hr_job_categories. Other modules depend on it.

64. By Michael Telahun Makonnen

hr_schedule: add a field to schedules and schedule templates for the rest day(s)

63. By Michael Telahun Makonnen

hr_schedule: When generating schedules from the wizard, include the week number, like in the mass scheduler and the rest-day changer

62. By Michael Telahun Makonnen

hr_holiday_extension: move declaration of leave approval group to the front of the list so it's available to the other data files

61. By Michael Telahun Makonnen

hr_schedule: consolidate 'Days of the Week' list in one global array

60. By Michael Telahun Makonnen

hr_holidays_extension: allow managers of employees and department managers to approve subordinates' leaves

To achieve this I did:
 o Add a new res.groups for Leave Approval rights
 o Add ir.rule to allow managers to view subordinates leave requests
 o New workflow that takes into account Leave Approval rights

To allow a manager to approve subordinates' leaves you should:
 o Give manager Leave Approval access rights
 o Specify the employee as a department manager OR
   Explicitly mark the manager as the employee's manager in the employee record

NOTE: A manager can approve anyone under him in the empoyee hierarcy. So if:
      X is Y's manager and Y is Z's manager then both X and Y can approve Z's leaves

59. By Michael Telahun Makonnen

hr_contract_init: remove debugging output

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.