Hello, sorry this is probably somewhere but I couldn't find it,
I there a way of easily changing the fields that are displayed on a list view?
Say for customers I want to display 4 fields (adding town or postcode)
hi, you can inherit the view 'view_partner_tree' found in : addons/base/res/res_partner_view.xml
Something like this in your module xml file :
<record id="inherit_view_partner_tree" model="ir.ui.view"> <field name="name">res.partner.tree</field> <field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_tree" />
<field name="arch" type="xml">
<field name="email" position="after">
<field name="field_town_name" />
<field name="field_postcode_name" />
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: 7/8/15, 5:25 AM|
|Seen: 436 times|
|Last updated: 7/8/15, 7:16 AM|