I have a custom module with a tree view that display a many2many field. Everything works fine, i would just like to display different fields in the tree view.
This is the pertinant part of the code
<group>
<tree string="Partner Contacts">
<field name="partner_id" domain="[('customer','=',True),('opt_out','=',False)]"/>
</tree>
</group>
Using the above XML code, the tree view displays the columns Name, Phone, Email.
How can I modify it so that the columns display are Name, City, State?
Thanks.