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.

36 lines
1.2 KiB

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