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.1 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. © 2012-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  5. -->
  6. <odoo>
  7. <!-- Add button on the "Get partner from incoming phone call view" -->
  8. <record id="create_crm_phonecall_view" model="ir.ui.view">
  9. <field name="name">create_crm_phonecall.view</field>
  10. <field name="model">wizard.create.crm.phonecall</field>
  11. <field name="arch" type="xml">
  12. <form string="CRM phone call" version="7.0">
  13. <label string="Create a phone call in the CRM ?"/>
  14. <footer>
  15. <button name="button_create_outgoing_phonecall" string="Yes" type="object" class="oe_highlight"/>
  16. <button special="cancel" string="No" class="oe_link"/>
  17. </footer>
  18. </form>
  19. </field>
  20. </record>
  21. <record id="action_create_crm_phonecall" model="ir.actions.act_window">
  22. <field name="name">Create CRM phonecall</field>
  23. <field name="res_model">wizard.create.crm.phonecall</field>
  24. <field name="view_mode">form</field>
  25. <field name="target">new</field>
  26. </record>
  27. </odoo>