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.

45 lines
1.8 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="reformat_all_phonenumbers_form" model="ir.ui.view">
  10. <field name="name">reformat_all_phonenumbers.form</field>
  11. <field name="model">reformat.all.phonenumbers</field>
  12. <field name="arch" type="xml">
  13. <form string="Reformat all phone numbers" version="7.0">
  14. <!-- TODO : add a "state" and display fields accordingly -->
  15. <group>
  16. <label string="This wizard reformats the phone, mobile and fax numbers of all partners in standard international format e.g. +33141981242" colspan="4"/>
  17. </group>
  18. <group>
  19. <button name="run_reformat_all_phonenumbers" string="Reformat all phone numbers" type="object" class="oe_highlight"/>
  20. <button special="cancel" string="Cancel" class="oe_link" />
  21. </group>
  22. <group>
  23. <label colspan="4" string="Phone numbers that couldn't be reformatted:"/>
  24. <field name="phonenumbers_not_reformatted" colspan="4" nolabel="1"/>
  25. </group>
  26. </form>
  27. </field>
  28. </record>
  29. <record id="reformat_all_phonenumbers_action" model="ir.actions.act_window">
  30. <field name="name">Reformat all phone numbers</field>
  31. <field name="res_model">reformat.all.phonenumbers</field>
  32. <field name="view_type">form</field>
  33. <field name="view_mode">form</field>
  34. <field name="target">new</field>
  35. </record>
  36. <!-- Menu entry under Settings > Configuration -->
  37. <menuitem id="reformat_all_phonenumbers_menu" action="reformat_all_phonenumbers_action" parent="menu_asterisk_servers" sequence="100"/>
  38. </data>
  39. </openerp>