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.

54 lines
2.1 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2012-2015 Alexis de Lattre <alexis@via.ecp.fr>
  4. The licence is in the file __openerp__.py
  5. -->
  6. <openerp>
  7. <data>
  8. <record id="number_not_found_form" model="ir.ui.view">
  9. <field name="name">number.not.found.form</field>
  10. <field name="model">number.not.found</field>
  11. <field name="arch" type="xml">
  12. <form string="Number Not Found" version="7.0">
  13. <div class="oe_title">
  14. <label string="Number not found:" for="calling_number"/>
  15. <h1>
  16. <field name="calling_number" />
  17. </h1>
  18. <label string="Number converted to international format:"
  19. for="e164_number"/>
  20. <h2>
  21. <field name="e164_number" />
  22. </h2>
  23. <label for="number_type"/>
  24. <h3>
  25. <field name="number_type"/>
  26. </h3>
  27. </div>
  28. <group colspan="4" col="2" name="create-update">
  29. <group name="partner" string="Create or Update a Partner"
  30. colspan="1" col="2">
  31. <button name="create_partner" class="oe_highlight" colspan="2"
  32. string="Create Partner with this Number" type="object"/>
  33. <field name="to_update_partner_id"
  34. on_change="onchange_to_update_partner(to_update_partner_id)"/>
  35. <field name="current_partner_phone" widget="phone"
  36. options="{'dial_button_invisible': True}"/>
  37. <field name="current_partner_mobile" widget="phone"
  38. options="{'dial_button_invisible': True}"/>
  39. <button name="update_partner" class="oe_highlight" colspan="2"
  40. string="Update Partner with this Number" type="object"/>
  41. </group>
  42. </group>
  43. <footer>
  44. <button special="cancel" string="Close" class="oe_link"/>
  45. </footer>
  46. </form>
  47. </field>
  48. </record>
  49. </data>
  50. </openerp>