[FIX] hr: fix the traceback when click on a resource
Steps to reproduce: -Install planning -Go to Gantt View -Click on resource avatar task-2960247 closes odoo/odoo#99551 Signed-off-by: Kevin Baptiste <kba@odoo.com>
This commit is contained in:
@@ -50,9 +50,9 @@ registerModel({
|
||||
model: 'hr.employee.public',
|
||||
method: 'read',
|
||||
args: [ids],
|
||||
fields: fields,
|
||||
kwargs: {
|
||||
context,
|
||||
fields,
|
||||
},
|
||||
});
|
||||
this.messaging.models['Employee'].insert(employeesData.map(employeeData =>
|
||||
|
||||
Reference in New Issue
Block a user