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.

39 lines
1.5 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright 2014-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).
  6. -->
  7. <odoo>
  8. <record id="number_not_found_form" model="ir.ui.view">
  9. <field name="name">crm_phone.number.not.found.form</field>
  10. <field name="model">number.not.found</field>
  11. <field name="inherit_id" ref="base_phone.number_not_found_form"/>
  12. <field name="arch" type="xml">
  13. <group name="create-update" position="inside">
  14. <group name="lead" string="Create or Update a Lead"
  15. colspan="1">
  16. <button name="create_lead" colspan="2"
  17. string="Create New Lead" type="object"
  18. groups="crm.group_use_lead" class="btn-primary"/>
  19. <button name="create_opportunity" colspan="2"
  20. string="Create New Opportunity" type="object"
  21. class="btn-primary"/>
  22. <field name="to_update_lead_id"/>
  23. <field name="current_lead_phone" string="Current Phone"
  24. options="{'dial_button_invisible': True}"/>
  25. <field name="current_lead_mobile" string="Current Mobile"
  26. options="{'dial_button_invisible': True}"/>
  27. <button name="update_lead" colspan="2"
  28. string="Update Existing Lead/Opportunity" type="object"
  29. class="btn-primary"/>
  30. </group>
  31. </group>
  32. </field>
  33. </record>
  34. </odoo>