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.
|
|
<?xml version="1.0" encoding="utf-8"?> <!--
Copyright (C) 2012 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="type">form</field> <field name="arch" type="xml"> <button name="open_invoices" position="after"> <button name="create_incoming_phonecall" icon="gtk-new" string="Create call in CRM" type="object" /> </button> <!-- We enlarge the small original 'Cancel' button --> <xpath expr="/form/group/button[@name='open_partner']/../button[@special='cancel']" position="attributes"> <attribute name="colspan">4</attribute> </xpath> </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>
|