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.

53 lines
1.9 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. <h1>
  15. <field name="calling_number" />
  16. </h1>
  17. <label string="Number converted to international format:"
  18. for="e164_number"/>
  19. <h2>
  20. <field name="e164_number" />
  21. </h2>
  22. <label for="number_type"/>
  23. <h3>
  24. <field name="number_type"/>
  25. </h3>
  26. </div>
  27. <group colspan="4" col="2" name="create-update">
  28. <group name="partner" string="Create or Update a Partner"
  29. colspan="1" col="2">
  30. <button name="create_partner" class="oe_highlight" colspan="2"
  31. string="Create Partner with this Number" type="object"/>
  32. <field name="to_update_partner_id" />
  33. <field name="current_partner_phone" widget="phone"
  34. options="{'dial_button_invisible': True}"/>
  35. <field name="current_partner_mobile" widget="phone"
  36. options="{'dial_button_invisible': True}"/>
  37. <button name="update_partner" class="oe_highlight" colspan="2"
  38. string="Update Partner with this Number" type="object"/>
  39. </group>
  40. </group>
  41. <footer>
  42. <button special="cancel" string="Close" class="oe_link"/>
  43. </footer>
  44. </form>
  45. </field>
  46. </record>
  47. </data>
  48. </odoo>