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.

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