This question has been flagged
2 Replies
6159 Views

Getting view error while creating employees under Human Resources. please provide solution to fix this issue.

"View error

Can't find field 'manager' in the following view parts composing the view of object model 'hr.employee': * hr.hr.employee.view.form2

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model "

Avatar
Discard
Best Answer

Hi, it seems like you didn't declare the field 'manager' in the model 'hr.employee', before you add this field in the view, in a python file.

Avatar
Discard
Best Answer

Hello Sanabil,

Greetings from SCS,

I have gone through your error.

This type of view error is raised when the field is in the view (in the .xml) file but not in the .py file.

You have to restart the server before upgrade the module when the changes is done in the .py file.

Thanks and Regards,

Serpent Consulting Services

Avatar
Discard