Repository
OCA/partner-contact · module folder · Try on Runboat
Module version
1.0.0
Category
Tools
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/partner-contact
Last tracking update
2026-08-07 09:06:26
Authors
Odoo Community Association (OCA), Komit
Maintainers
Odoo Community Association (OCA), Komit
Committers
Weblate, OCA-git-bot, oca-ci, ilo
Odoo dependencies
odoo/odoo:
- web
Python dependencies
email-validator
System dependencies
None
Required by
None
Description
This module validates and normalizes the field `email` in the model
`res.partner`.

As part of the normalization, email addresses are converted to
lowercase.

Optionally, multiple partners can not be allowed to have the same
address. This will not work with multiple comma-separated email
addresses in the field, although validation and normalization are still
supported in such cases.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_general_configuration partner_email_check res.config.settings form Inherits base_setup.res_config_settings_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (3)
  • partner_email_check_check_deliverability Boolean
    help="Don't allow email addresses with providers that don't exist" string='Check deliverability of email addresses'
  • partner_email_check_filter_duplicates Boolean
    help="Don't allow multiple partners to have the same email address." string='Filter duplicate partner email addresses'
  • partner_email_check_syntax Boolean
    default=True help="Don't allow email addresses with wrong syntax" string='Check syntax of email addresses'
Public methods (0)

No public methods.

New fields (3)
  • partner_email_check_check_deliverability Boolean
    readonly=False related='company_id.partner_email_check_check_deliverability'
  • partner_email_check_filter_duplicates Boolean
    readonly=False related='company_id.partner_email_check_filter_duplicates'
  • partner_email_check_syntax Boolean
    readonly=False related='company_id.partner_email_check_syntax'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (4)
  • copy_data(self, default=None)
  • create(self, vals_list)
    @api.model_create_multi
  • email_check(self, emails)
    @api.model
  • write(self, vals)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…