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

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. CRM Phone module for OpenERP
  4. Copyright (C) 2014 Alexis de Lattre <alexis@via.ecp.fr>
  5. The licence is in the file __openerp__.py
  6. -->
  7. <openerp>
  8. <data>
  9. <record id="number_not_found_form" model="ir.ui.view">
  10. <field name="name">crm_phone.number.not.found.form</field>
  11. <field name="model">number.not.found</field>
  12. <field name="inherit_id" ref="base_phone.number_not_found_form"/>
  13. <field name="arch" type="xml">
  14. <group name="create-update" position="inside">
  15. <group name="lead" string="Create or Update a Lead"
  16. colspan="1" col="2">
  17. <button name="create_lead" icon="gtk-new" colspan="2"
  18. string="Create Lead with this Number" type="object"/>
  19. <field name="to_update_lead_id"
  20. on_change="onchange_to_update_lead(to_update_lead_id)"/>
  21. <field name="current_lead_phone" widget="phone"
  22. options="{'dial_button_invisible': True}"/>
  23. <field name="current_lead_mobile" widget="phone"
  24. options="{'dial_button_invisible': True}"/>
  25. <button name="update_lead" icon="gtk-convert" colspan="2"
  26. string="Update Lead with this Number" type="object"/>
  27. </group>
  28. </group>
  29. </field>
  30. </record>
  31. </data>
  32. </openerp>