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.

35 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. <record id="number_not_found_form" model="ir.ui.view">
  8. <field name="name">crm_phone.number.not.found.form</field>
  9. <field name="model">number.not.found</field>
  10. <field name="inherit_id" ref="base_phone.number_not_found_form"/>
  11. <field name="arch" type="xml">
  12. <group name="create-update" position="inside">
  13. <group name="lead" string="Create or Update a Lead"
  14. colspan="1">
  15. <button name="create_lead" colspan="2"
  16. string="Create Lead with this Number" type="object"
  17. class="oe_highlight"/>
  18. <field name="to_update_lead_id"/>
  19. <field name="current_lead_phone"
  20. options="{'dial_button_invisible': True}"/>
  21. <field name="current_lead_mobile"
  22. options="{'dial_button_invisible': True}"/>
  23. <button name="update_lead" colspan="2"
  24. string="Update Lead with this Number" type="object"
  25. class="oe_highlight"/>
  26. </group>
  27. </group>
  28. </field>
  29. </record>
  30. </odoo>