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.

38 lines
1.6 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">
  14. <label string="This wizard reformats the phone, mobile and fax numbers of all partner contacts in standard international format e.g. +33141981242" colspan="4"/>
  15. <button special="cancel" icon="gtk-cancel" string="Close" />
  16. <button name="run_reformat_all_phonenumbers" icon="gtk-ok" string="Reformat all phone numbers" type="object" />
  17. <label colspan="4" string="Phone numbers that couldn't be reformatted:"/>
  18. <field name="phonenumbers_not_reformatted" colspan="4" nolabel="1"/>
  19. </form>
  20. </field>
  21. </record>
  22. <record id="reformat_all_phonenumbers_action" model="ir.actions.act_window">
  23. <field name="name">Reformat all phone numbers</field>
  24. <field name="res_model">reformat.all.phonenumbers</field>
  25. <field name="view_type">form</field>
  26. <field name="view_mode">form</field>
  27. <field name="target">new</field>
  28. </record>
  29. <!-- Menu entry under Settings > Configuration -->
  30. <menuitem id="reformat_all_phonenumbers_menu" action="reformat_all_phonenumbers_action" parent="menu_asterisk_servers" sequence="100"/>
  31. </data>
  32. </openerp>