Odoo Help


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.


Change fields displayed in list view

Mark Lewis
on 7/8/15, 5:25 AM 396 views

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)



Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 7/8/15, 7:16 AM


Guillaume has explained very well the UI part.

You must not forget to add the necessary custom fields on the class files.


Thanks Serpent, don't know about this, I suppose I expect(ed) just to be able to click check boxes to display existing partner fields.

Mark Lewis
on 7/9/15, 3:35 AM

Mark, In a custom module, you have to add by custom. Or if you have opened in debug mode, you would be able to add in the view!

Serpent Consulting Services Pvt. Ltd.
on 7/9/15, 3:58 AM
Guillaume Seran
On 7/8/15, 6:29 AM

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" />

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

1 follower(s)


Asked: 7/8/15, 5:25 AM
Seen: 396 times
Last updated: 7/8/15, 7:16 AM