[IMP] improves the layout and xpath expr of the 'convert to issue' button in addon crm_project_issue

bzr revid: ged@openerp.com-20140414125231-w7kapgt2mpmhhn2m
This commit is contained in:
Gery Debongnie 2014-04-14 14:52:31 +02:00
parent 69af9ca3dc
commit 1af4ca6cac
1 changed files with 4 additions and 2 deletions

View File

@ -35,9 +35,11 @@
<field name="model">crm.lead</field>
<field name="inherit_id" ref="crm.crm_case_form_view_leads" />
<field name="arch" type="xml">
<xpath expr="//div[@name='buttons']/button" position="after">
<xpath expr="//div[@name='buttons']" position="inside">
<button class="oe_inline oe_stat_button" type="action" name="%(convert_lead2projectissue_wizard_action)d" icon="fa-bug"
help="Convert to Issue" widget="statinfo" string="Move to Issue"/>
help="Convert to Issue">
<div>Convert To<br/>Issue</div>
</button>
</xpath>
</field>
</record>