[IMP] hr_expense: Adapt module with new hr.employee.public model
This commit is contained in:
committed by
Yannick Tivisse
parent
1044a0e889
commit
9f407bd453
@@ -31,6 +31,12 @@ class Employee(models.Model):
|
||||
self.expense_manager_id = manager
|
||||
|
||||
|
||||
class EmployeePublic(models.Model):
|
||||
_inherit = 'hr.employee.public'
|
||||
|
||||
expense_manager_id = fields.Many2one('res.users', readonly=True)
|
||||
|
||||
|
||||
class User(models.Model):
|
||||
_inherit = ['res.users']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user