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.
47 lines
1.8 KiB
47 lines
1.8 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Base Phone module for OpenERP
|
|
Copyright (C) 2012-2013 Alexis de Lattre <alexis@via.ecp.fr>
|
|
The licence is in the file __openerp__.py
|
|
-->
|
|
|
|
<openerp>
|
|
<data>
|
|
|
|
<record id="reformat_all_phonenumbers_form" model="ir.ui.view">
|
|
<field name="name">reformat_all_phonenumbers.form</field>
|
|
<field name="model">reformat.all.phonenumbers</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Reformat all phone numbers" version="7.0">
|
|
<!-- TODO : add a "state" and display fields accordingly -->
|
|
<group>
|
|
<label string="This wizard reformats the phone, mobile and fax numbers of all partners in standard international format e.g. +33141981242" colspan="4"/>
|
|
</group>
|
|
<group>
|
|
<button name="run_reformat_all_phonenumbers" string="Reformat all phone numbers" type="object" class="oe_highlight"/>
|
|
<button special="cancel" string="Cancel" class="oe_link" />
|
|
</group>
|
|
<group>
|
|
<label colspan="4" string="Phone numbers that couldn't be reformatted:"/>
|
|
<field name="phonenumbers_not_reformatted" colspan="4" nolabel="1"/>
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="reformat_all_phonenumbers_action" model="ir.actions.act_window">
|
|
<field name="name">Reformat Phone Numbers</field>
|
|
<field name="res_model">reformat.all.phonenumbers</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
<!-- Menu entry under Settings > Technical -->
|
|
<menuitem id="menu_config_phone" name="Telephony" parent="base.menu_custom"/>
|
|
|
|
<menuitem id="reformat_all_phonenumbers_menu" action="reformat_all_phonenumbers_action" parent="menu_config_phone" sequence="100"/>
|
|
|
|
|
|
</data>
|
|
</openerp>
|