Odoo Help


Change fields displayed in list view

Mark Lewis
on 7/8/15, 5:25 AM 524 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.--
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 platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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