Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I cant access employee table ie hr_employee table fields from my new module. It shows error as "AttributeError: 'Field parent_id not found in browse_record(hr.employee, 6)' " Any one please help!!!
Based on the fact parent_id IS defined in hr.employee, there are 2 possibilities I can think of: the model being accessed is actually not hr.employee or the parent_id field has accidentally been removed either by other module or by someone. Check in the PostgreSQL database in table called hr_employee whether there is a column called parent_id. If there is, go to Settings >> Technical >> Database Structure >> Models, see if the Model hr.employee has parent_id listed as a field. If not, try to remedy it by updating hr module.
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 9/11/14, 3:11 AM|
|Seen: 1377 times|
|Last updated: 3/16/15, 8:10 AM|