Skip to content
Health
68/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 10 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.12 MB
Module directory on disk
Code analysis 0 migration notes 1 model 1 view 0 HTTP endpoints

Description

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).

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.

Dependencies

Odoo dependencies
Python dependencies
phonenumbers
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
view_partner_form res.partner form Inherits base.view_partner_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (1)
  • same_mobile_partner_ids Many2many → res.partner
    compute='_compute_same_mobile_partner_ids' compute_sudo=True string='Partners with same mobile' args: 'res.partner'
Public methods (1)
  • action_open_business_doc(self)
    Method called when you click on the link in the duplicate warning banner

Loading…

Loading…