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.

49 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. <record id="number_not_found_form" model="ir.ui.view">
  8. <field name="name">number.not.found.form</field>
  9. <field name="model">number.not.found</field>
  10. <field name="arch" type="xml">
  11. <form string="Number Not Found">
  12. <div class="oe_title">
  13. <h1>
  14. <field name="calling_number" />
  15. </h1>
  16. <label string="Number converted to international format:"
  17. for="e164_number"/>
  18. <h2>
  19. <field name="e164_number" />
  20. </h2>
  21. <label for="number_type"/>
  22. <h3>
  23. <field name="number_type"/>
  24. </h3>
  25. </div>
  26. <group colspan="4" col="2" name="create-update">
  27. <group name="partner" string="Create or Update a Partner"
  28. colspan="1" col="2">
  29. <button name="create_partner" class="oe_highlight" colspan="2"
  30. string="Create Partner with this Number" type="object"/>
  31. <field name="to_update_partner_id" />
  32. <field name="current_partner_phone"
  33. options="{'dial_button_invisible': True}"/>
  34. <field name="current_partner_mobile"
  35. options="{'dial_button_invisible': True}"/>
  36. <button name="update_partner" class="oe_highlight" colspan="2"
  37. string="Update Partner with this Number" type="object"/>
  38. </group>
  39. </group>
  40. <footer>
  41. <button special="cancel" string="Close" class="oe_link"/>
  42. </footer>
  43. </form>
  44. </field>
  45. </record>
  46. </odoo>