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 want to add few fields to hr_employee and new tables in the database related to employee.
Employee create form is not reflected with the new fields even though added in the database.
If you want to add a field to
hr.employee, then you have 2 choices:
- Add a field in menu "Settings -> Technical -> Database Structure -> Models". Therefore your user must have the access right
Technical Features. Afterwards you have to add the new field in the desired views. The easiest way to do this is to activate the Developer mode (see here), go to the view you want to change and e.g. choose
Edit TreeViewin the drop-down box.
- Create a new Module (see OpenERP Developer documentation)
You should never insert a new field directly in the database!
Update: I found the following question related to this one here
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 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: 2/22/13, 6:18 AM|
|Seen: 3205 times|
|Last updated: 3/16/15, 8:10 AM|