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.

50 lines
2.0 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright 2012-2018 Akretion France
  4. @author: Alexis de Lattre <alexis.delattre@akretion.com>
  5. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  6. -->
  7. <odoo>
  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="btn-primary" colspan="2"
  31. string="Create New Partner" type="object"/>
  32. <field name="to_update_partner_id" />
  33. <field name="current_partner_phone"
  34. options="{'dial_button_invisible': True}"/>
  35. <field name="current_partner_mobile"
  36. options="{'dial_button_invisible': True}"/>
  37. <button name="update_partner" class="btn-primary" colspan="2"
  38. string="Update Existing Partner" type="object"/>
  39. </group>
  40. </group>
  41. <footer>
  42. <button special="cancel" string="Close" class="btn-default"/>
  43. </footer>
  44. </form>
  45. </field>
  46. </record>
  47. </odoo>