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

customise list view of contact page

By
Nick Lines
on 5/19/16, 8:18 AM 170 views

Hi All, 


just hoping someone can point me in the right direction for customization of the list view of the contact page.


currently the oply columns are

Name

Phone

email


would like to add address to this

0

Jérémy Kersten (jke)

--Jérémy Kersten (jke)--
2993
| 3 2 5
Jodoigne, Belgium
--Jérémy Kersten (jke)--

Jérémy is a member of the core R&D team since september 2013. He developed several projects for OpenERP version 8 including the eCommerce, the Google Calendar synchronization and the new product variants/configurator. Now, he manages Odoo website and themes for saas.

Jérémy Kersten (jke)
On 5/20/16, 4:36 AM

Take a look in the documentation for 'inherited view', that will allow you to expand the base.view_partner_tree.

Be sure that your field are not already present but in invisible='1' (eg: user_id, is_company, country_id, parent_id, active)


Here, a short example:


    <record id="view_res_partner_inherit_tree" model="ir.ui.view">
<field name="name">res.partner.inherit.tree</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_tree"/>
<field name="arch" type="xml">
<field name="user_id" position="after">
<field name="my_new_field"/>
<field name="another_new_field"/>
</field>
</field>
</record>

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

2 follower(s)

Stats

Asked: 5/19/16, 8:18 AM
Seen: 170 times
Last updated: 5/20/16, 5:35 AM