[FIX] hr:add an employee to a department
lp bug: https://launchpad.net/bugs/691218 fixed bzr revid: psi@tinyerp.co.in-20101221100028-vpkskil3ur6ccjij
This commit is contained in:
parent
9d16b4fc92
commit
21199236df
|
@ -221,7 +221,7 @@ class hr_department(osv.osv):
|
|||
_inherit = 'hr.department'
|
||||
_columns = {
|
||||
'manager_id': fields.many2one('hr.employee', 'Manager'),
|
||||
'member_ids': fields.one2many('hr.employee', 'department_id', 'Members'),
|
||||
'member_ids': fields.one2many('hr.employee', 'department_id', 'Members', readonly=True),
|
||||
}
|
||||
|
||||
hr_department()
|
||||
|
|
Loading…
Reference in New Issue