[Fix] : external id not found in view
bzr revid: jem@openerp.com-20140217142657-qa3y5pl3ig2wars2
This commit is contained in:
parent
0ff108c00c
commit
bf60958512
|
@ -2,18 +2,6 @@
|
|||
<openerp>
|
||||
<data>
|
||||
|
||||
<!-- inherit view of Lead Form : adding the "convert to issue" button -->
|
||||
<record model="ir.ui.view" id="crm_case_form_view_leads_project_issue">
|
||||
<field name="name">CRM - Leads Form</field>
|
||||
<field name="model">crm.lead</field>
|
||||
<field name="inherit_id" ref="crm.crm_case_form_view_leads" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='stage_id']" position="before">
|
||||
<button name="%(convert_lead2projectissue_wizard_action)d" string="Convert to Issue" type="action" help="Convert to Issue" context="{'default_lead_id' : id}" />
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- action of converting, via wizard -->
|
||||
<record model="ir.actions.act_window" id="convert_lead2projectissue_wizard_action" >
|
||||
<field name="name">Convert to Issue</field>
|
||||
|
@ -40,5 +28,17 @@
|
|||
</field>
|
||||
</record>
|
||||
|
||||
<!-- inherit view of Lead Form : adding the "convert to issue" button -->
|
||||
<record model="ir.ui.view" id="crm_case_form_view_leads_project_issue">
|
||||
<field name="name">CRM - Leads Form</field>
|
||||
<field name="model">crm.lead</field>
|
||||
<field name="inherit_id" ref="crm.crm_case_form_view_leads" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='stage_id']" position="before">
|
||||
<button name="%(convert_lead2projectissue_wizard_action)d" string="Convert to Issue" type="action" help="Convert to Issue" context="{'default_lead_id' : id}" />
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
Loading…
Reference in New Issue