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
|Asked: 2/22/13, 6:18 AM|
|Seen: 3011 times|
|Last updated: 3/16/15, 8:10 AM|