İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
2857 Görünümler

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

Avatar
Vazgeç
En İyi Yanıt

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>
Avatar
Vazgeç