partner_email_duplicate_warn
Displays a warning on partner forms when other partners share the same email so users can spot potential duplicates and merge them if needed.
Key Features
- res.partner: Computes same_email_partner_ids to list partners whose trimmed, lowercased emails match, including inactive records.
- res.partner: Excludes the current partner and its parent/child relations from duplicate candidates to avoid hierarchy false positives.
- res.partner: When a partner is company-specific, only flags duplicates in the same company or no company; otherwise considers all companies.
- res.partner form: Shows an alert banner with quick links whenever other partners share the same email.
- res.partner: Provides an action to open the partner form when a duplicate link in the banner is clicked.