Browse Source

Start the wizard "Reformat Phone Numbers" after the installation of the module

Update module description
pull/10/head
Alexis de Lattre 10 years ago
parent
commit
846490dc1f
  1. 2
      base_phone/__openerp__.py
  2. 5
      base_phone/wizard/reformat_all_phonenumbers_view.xml

2
base_phone/__openerp__.py

@ -35,7 +35,7 @@ which is a port of the library used in Android smartphones. For example, if
your user is linked to a French company and you update the form view of a
partner with a badly written French phone number such as '01-55-42-12-42',
Odoo will automatically update the phone number to E.164 format '+33155421242'
and display in the form view of the partner the readable equivalent
and display in the form and tree view of the partner the readable equivalent
'+33 1 55 42 12 42'.
This module also adds *tel:* links on phone numbers and *fax:* links on fax

5
base_phone/wizard/reformat_all_phonenumbers_view.xml

@ -39,6 +39,11 @@
<menuitem id="reformat_all_phonenumbers_menu" action="reformat_all_phonenumbers_action" parent="menu_config_phone" sequence="100"/>
<!-- Open the Reformat Phone Numbers wizard after the installation of the module -->
<record id="reformat_all_phonenumbers_module_install" model="ir.actions.todo">
<field name="action_id" ref="reformat_all_phonenumbers_action"/>
<field name="type">automatic</field>
</record>
</data>
</openerp>
Loading…
Cancel
Save