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

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. © 2014-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  5. -->
  6. <odoo>
  7. <data>
  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 Lead with this Number" type="object"
  18. class="oe_highlight"/>
  19. <field name="to_update_lead_id"/>
  20. <field name="current_lead_phone" widget="phone"
  21. options="{'dial_button_invisible': True}"/>
  22. <field name="current_lead_mobile" widget="phone"
  23. options="{'dial_button_invisible': True}"/>
  24. <button name="update_lead" colspan="2"
  25. string="Update Lead with this Number" type="object"
  26. class="oe_highlight"/>
  27. </group>
  28. </group>
  29. </field>
  30. </record>
  31. </data>
  32. </odoo>