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.

55 lines
2.1 KiB

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