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 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="type">form</field>
  14. <field name="arch" type="xml">
  15. <form string="CRM phone call">
  16. <label string="Create a phone call in the CRM ?" colspan="2"/>
  17. <newline />
  18. <button name="button_create_outgoing_phonecall" icon="gtk-new" string="Yes" type="object"/>
  19. <button special="cancel" icon="gtk-cancel" string="No" />
  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>