~savoirfairelinux-openerp/openerp-hr/department_parent_cascade

  • Committer: Michael Telahun Makonnen
  • Date: 2013-09-21 11:31:47 UTC
  • Revision ID: mmakonnen@gmail.com-20130921113147-q4hevb2l1t38h2fd
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
Filename Latest Rev Last Changed Committer Comment Size
..
security 1 10 years ago Michael Telahun Makonnen Employee and Contract Management, Attendance and S Diff
__init__.py 1 10 years ago Michael Telahun Makonnen Employee and Contract Management, Attendance and S 989 bytes Diff Download File
__openerp__.py 52 10 years ago Michael Telahun Makonnen New module: hr_contract_init: this module provides 1.7 KB Diff Download File
hr_contract.py 58 10 years ago Michael Telahun Makonnen Use the number of days configured in the 'initial 9.6 KB Diff Download File
hr_contract_cron.xml 1 10 years ago Michael Telahun Makonnen Employee and Contract Management, Attendance and S 2.6 KB Diff Download File
hr_contract_data.xml 1 10 years ago Michael Telahun Makonnen Employee and Contract Management, Attendance and S 1006 bytes Diff Download File
hr_contract_view.xml 58 10 years ago Michael Telahun Makonnen Use the number of days configured in the 'initial 7.9 KB Diff Download File
hr_contract_workflow.xml 1 10 years ago Michael Telahun Makonnen Employee and Contract Management, Attendance and S 7.5 KB Diff Download File