You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

33 lines
1.2 KiB

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012-2013 Akretion (http://www.akretion.com)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
The licence is in the file __openerp__.py
-->
<openerp>
<data>
<!-- Add button on the "Get partner from incoming phone call view" -->
<record id="asterisk_click2dial_crm_open_calling_partner_view" model="ir.ui.view">
<field name="name">asterisk_click2dial_crm.open_calling_partner.view</field>
<field name="model">wizard.open.calling.partner</field>
<field name="inherit_id" ref="asterisk_click2dial.view_open_calling_partner"/>
<field name="arch" type="xml">
<group name="partner_found" position="inside">
<button name="create_incoming_phonecall" string="Create Call in CRM" type="object" icon="gtk-new" />
</group>
</field>
</record>
<!-- Move "Open calling partner" menu entry to "Phone calls" menu -->
<delete model="ir.ui.menu" id="asterisk_click2dial.menu_open_calling_partner_sales" />
<menuitem id="menu_open_calling_partner_phone"
parent="crm.menu_crm_case_phone"
action="asterisk_click2dial.action_open_calling_partner"
sequence="1" />
</data>
</openerp>