Browse Source

[ADD] display_name in account_partner_merge view

pull/2/head
Yannick Vaucher 11 years ago
parent
commit
f8fffcb7a7
  1. 2
      account_partner_merge/__openerp__.py
  2. 17
      account_partner_merge/account_partner_merge_view.xml

2
account_partner_merge/__openerp__.py

@ -26,7 +26,7 @@
'maintainer': 'Camptocamp', 'maintainer': 'Camptocamp',
'website': 'http://www.camptocamp.com/', 'website': 'http://www.camptocamp.com/',
'depends' : ['account_report_company', 'base_partner_merge'], 'depends' : ['account_report_company', 'base_partner_merge'],
'data': [],
'data': ['account_partner_merge_view.xml'],
'test': [], 'test': [],
'installable': True, 'installable': True,
'auto_install': True, 'auto_install': True,

17
account_partner_merge/account_partner_merge_view.xml

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record model='ir.ui.view' id='base_partner_merge_automatic_wizard_form'>
<field name='name'>account.partner.merge.automatic.wizard.form</field>
<field name='model'>base.partner.merge.automatic.wizard</field>
<field name='inherit_id' ref='base_partner_merge.base_partner_merge_automatic_wizard_form'/>
<field name='arch' type='xml'>
<xpath expr="//field[@name='partner_ids']/tree/field[@name='name']" position="replace">
<field name="display_name" />
</xpath>
</field>
</record>
</data>
</openerp>
Loading…
Cancel
Save