Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

License: AGPL-3

Base Phone

This module validate phone numbers using the phonenumbers Python library, 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 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 numbers. If you have a softphone or a client software on your PC that is associated with tel: links, the softphone should propose you to dial the phone number when you click on such a link.

This module also updates the format() function for reports and adds 2 arguments :

  • phone : should be True for a phone number, False (default) otherwize.

  • phone_formatit can have 3 possible values :
    • international (default) : the report will display ‘+33 1 55 42 12 42’

    • national : the report will display ‘01 55 42 12 42’

    • e164 : the report will display ‘+33155421242’

For example, in the Sale Order report, to display the phone number of the Salesman, you can write : o.user_id and o.user_id.phone and format(o.user_id.phone, phone=True, phone_format=’national’) or ‘’

This module is independant from the Asterisk connector.

Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com> for any help or question about this module.

Installation

There is no specific installation procedure for this module.

Configuration

There is no specific configuration procedure for this module.

Usage

There is no specific usage procedure for this module.

Try me on Runbot

Known issues / Roadmap

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.

Metadata

Release files for odoo9-addon-base-phone 9.0.0.1.0.99.dev56

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo9-addon-base-phone 9.0.0.1.0.99.dev56
File Interpreter ABI Platform
odoo9_addon_base_phone-9.0.0.1.0.99.dev56-py2-none-any.whl Python 2 none any Details

Release files / odoo9_addon_base_phone-9.0.0.1.0.99.dev56-py2-none-any.whl

Download URL odoo9_addon_base_phone-9.0.0.1.0.99.dev56-py2-none-any.whl
Size 199.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
ab750dfc558652d9380b074bdfec37076d85da651a7e36d294be675f3dd4eb93
BLAKE2b-256 checksum
How to use checksums
412ccf1bdd8c9ea57f2b27b9f1d31bae842cdaeae72853b761f36f905887c874
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page