Need help with adding additional fields to custom module. Though I have created few columns they do not appear I am not sure how to go ahead with it and create new customer details. Any suggestion please!
Take a look here : https://www.odoo.com/documentation/8.0/howtos/backend.html
Else you can take a look at a simple module like website_hr : https://github.com/odoo/odoo/blob/8.0/addons/website_hr/models/hr.py.
This file show you how to add 2 fields in hr.employee model.
To add fields in your tree view / form view, you need to add with xpath your new fields to the orgnal view.
E.G. : https://github.com/odoo/odoo/blob/8.0/addons/website_hr_recruitment/views/hr_job_views.xml
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: 3/11/15, 2:27 AM|
|Seen: 456 times|
|Last updated: 3/16/15, 8:10 AM|