<?xml version="1.0"?>
<openerp>
    <data>
        <record model="ir.ui.view" id="account_report_copmany_partner_tree_view">
            <field name="model">res.partner</field>
            <field name="inherit_id" ref="base.view_partner_tree"/>
            <field name="arch" type="xml">
                <field name="name" position="attributes">
                    <attribute name="invisible">True</attribute>
                </field>
                <field name="name" position="before">
                    <field name="display_name"/>
                </field>
            </field>
        </record>

        <record model="ir.ui.view" id="account_report_copmany_partner_kanban_view">
            <field name="model">res.partner</field>
            <field name="inherit_id" ref="base.res_partner_kanban_view"/>
            <field name="arch" type="xml">
                <xpath expr="//templates//field[@name='name']" position="replace">
                    <field name="display_name"/>
                </xpath>
            </field>
        </record>
    </data>
</openerp>