コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
2881 ビュー

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

アバター
破棄
最善の回答

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>
アバター
破棄