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.

37 lines
1.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2012-2013 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="create_crm_phonecall_view" model="ir.ui.view">
  11. <field name="name">create_crm_phonecall.view</field>
  12. <field name="model">wizard.create.crm.phonecall</field>
  13. <field name="arch" type="xml">
  14. <form string="CRM phone call" version="7.0">
  15. <label string="Create a phone call in the CRM ?"/>
  16. <footer>
  17. <button name="button_create_outgoing_phonecall" string="Yes" type="object" class="oe_highlight"/>
  18. <button special="cancel" string="No" class="oe_link"/>
  19. </footer>
  20. </form>
  21. </field>
  22. </record>
  23. <record id="action_create_crm_phonecall" model="ir.actions.act_window">
  24. <field name="name">Create CRM phonecall</field>
  25. <field name="res_model">wizard.create.crm.phonecall</field>
  26. <field name="view_type">form</field>
  27. <field name="view_mode">form</field>
  28. <field name="target">new</field>
  29. </record>
  30. </data>
  31. </openerp>