[IMP] hr_expense: Adapt module with new hr.employee.public model

This commit is contained in:
RomainLibert
2019-05-31 10:21:21 +02:00
committed by Yannick Tivisse
parent 1044a0e889
commit 9f407bd453
+6
View File
@@ -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']