~matthieuchoplin/credativ-openerp/ERP-701-enable-group-on-treeviewlinks

« back to all changes in this revision

Viewing changes to hr_holidays_covering/hr_holidays_covering.py

  • Committer: Tom Pickering
  • Date: 2013-11-25 15:09:23 UTC
  • Revision ID: tpi@phobos.rugby.credativ.ltd.uk-20131125150923-1yqj5c8gfnjs1xcg
[ADD] Added module 'hr_holidays_covering', which adds a field for 'employee to cover your responsibilities' when creating a leave request using the hr_holidays module.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
from osv import fields, osv
 
3
 
 
4
class hr_holidays_covering(osv.osv):
 
5
  _inherit = 'hr.holidays'
 
6
  _columns = {
 
7
    'covering_id' : fields.many2one('hr.employee', 'Covering'),
 
8
  }
 
9
 
 
10
hr_holidays_covering()