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.

34 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="type">form</field>
  15. <field name="arch" type="xml">
  16. <group name="partner_found" position="inside">
  17. <button name="create_incoming_phonecall" string="Create Call in CRM" type="object" icon="gtk-new" />
  18. </group>
  19. </field>
  20. </record>
  21. <!-- Move "Open calling partner" menu entry to "Phone calls" menu -->
  22. <delete model="ir.ui.menu" id="asterisk_click2dial.menu_open_calling_partner_sales" />
  23. <menuitem id="menu_open_calling_partner_phone"
  24. parent="crm.menu_crm_case_phone"
  25. action="asterisk_click2dial.action_open_calling_partner"
  26. sequence="1" />
  27. </data>
  28. </openerp>