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

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. © 2012-2016 (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">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">
  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. <field name="current_partner_phone" widget="phone"
  35. options="{'dial_button_invisible': True}"/>
  36. <field name="current_partner_mobile" widget="phone"
  37. options="{'dial_button_invisible': True}"/>
  38. <button name="update_partner" class="oe_highlight" colspan="2"
  39. string="Update Partner with this Number" type="object"/>
  40. </group>
  41. </group>
  42. <footer>
  43. <button special="cancel" string="Close" class="oe_link"/>
  44. </footer>
  45. </form>
  46. </field>
  47. </record>
  48. </data>
  49. </odoo>