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.

34 lines
1.2 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. <field name="to_update_lead_id"/>
  19. <field name="current_lead_phone" widget="phone"
  20. options="{'dial_button_invisible': True}"/>
  21. <field name="current_lead_mobile" widget="phone"
  22. options="{'dial_button_invisible': True}"/>
  23. <button name="update_lead" colspan="2"
  24. string="Update Lead with this Number" type="object"/>
  25. </group>
  26. </group>
  27. </field>
  28. </record>
  29. </data>
  30. </odoo>