Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to fix view error in openerp 7 ?

By
sindhi sanabil
on 10/8/13, 8:16 AM 2,357 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 "

1
Anabela Damas
On 10/8/13, 9:15 AM

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.

0

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 10/8/13, 10:51 AM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 10/8/13, 8:16 AM
Seen: 2357 times
Last updated: 3/16/15, 8:10 AM