Skip to main content

Warning banner on partner form if another partner has the same mobile

Project description

Beta License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runbot

This module adds a warning banner on the partner form view if another partner has the same mobile phone number. It helps spot duplicate partners. If the duplication is confirmed, the user can then use the native partner merge wizard available from the partner tree view (menu Action > Merge).

Warning banner on partner form

This module depend on the module phone_validation from the official addons which handle the automatic reformatting of phone numbers to the E.164 format depending on the country of the partner. For exemple, for a French partner, if you write 06.23.45.67.78 in the Mobile field, it will be automatically reformatted to +33 6 23 45 67 78 (via the onchange). Thanks to this reformatting, this module can easily find identical phone numbers on other partners.

It is similar to the native warning banner when another partner has the same VAT number. This module has a twin brother named partner_email_duplicate_warn which adds a warning banner when another partner has the same email.

Table of contents

Configuration

No configuration required.

Usage

The warning banner is displayed on the partner form view if another partner: - has the same mobile phone number (the module phone_validation ensure that phone numbers are automatically formatted to the E.164 format), - if the partner is attached to a specific company: is in the same company or is not attached to a specific company, - if the partner is not attached to a specific company: is in any company or not attached to a specific company.

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.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Akretion

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

Current maintainer:

alexis-via

This module is part of the OCA/partner-contact project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page