Skip to content

[IMP] partner_email_check: option to clean the display name from emails - #2561

Open
divad1196 wants to merge 1 commit into
OCA:18.0from
camptocamp:18.0-imp-partner_email_check-clean_display_name
Open

divad1196 wants to merge 1 commit into
OCA:18.0from
camptocamp:18.0-imp-partner_email_check-clean_display_name

Conversation

@divad1196

Copy link
Copy Markdown

Context

partner_email_check can reject incorrect emails, but sometimes the email is available like Display Name <email>.
We can extract the email in such cases instead of failing.

Fix

Save "Name"

as address, before the syntax check. Can be switched on/off with the partner_email_check_clean_display_name company setting (default: off).

Save "Name" <address> as address, before the syntax check.
Can be switched on/off with the partner_email_check_clean_display_name
company setting (default: off).
@OCA-git-bot OCA-git-bot added series:18.0 mod:partner_email_check Module partner_email_check labels Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:partner_email_check Module partner_email_check series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants