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

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2012 Akretion (http://www.akretion.com)
  4. @author: Alexis de Lattre <alexis.delattre@akretion.com>
  5. The licence is in the file __openerp__.py
  6. -->
  7. <openerp>
  8. <data>
  9. <!-- Add button on the "Get partner from incoming phone call view" -->
  10. <record id="asterisk_click2dial_crm_open_calling_partner_view" model="ir.ui.view">
  11. <field name="name">asterisk_click2dial_crm.open_calling_partner.view</field>
  12. <field name="model">wizard.open.calling.partner</field>
  13. <field name="inherit_id" ref="asterisk_click2dial.view_open_calling_partner"/>
  14. <field name="arch" type="xml">
  15. <group name="partner_found" position="inside">
  16. <button name="create_incoming_phonecall" string="Create Call in CRM" type="object" icon="gtk-new" />
  17. </group>
  18. </field>
  19. </record>
  20. <!-- Move "Open calling partner" menu entry to "Phone calls" menu -->
  21. <delete model="ir.ui.menu" id="asterisk_click2dial.menu_open_calling_partner_sales" />
  22. <menuitem id="menu_open_calling_partner_phone"
  23. parent="crm.menu_crm_case_phone"
  24. action="asterisk_click2dial.action_open_calling_partner"
  25. sequence="1" />
  26. </data>
  27. </openerp>