You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
788 B

  1. # Copyright 2021 ACSONE SA/NV
  2. # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
  3. from odoo import fields, models
  4. class ResCompany(models.Model):
  5. _inherit = "res.company"
  6. partner_email_check_syntax = fields.Boolean(
  7. string="Check syntax of email addresses",
  8. help="Don't allow email addresses with wrong syntax",
  9. default=True,
  10. )
  11. partner_email_check_filter_duplicates = fields.Boolean(
  12. string="Filter duplicate partner email addresses",
  13. help="Don't allow multiple partners to have the same email address.",
  14. )
  15. partner_email_check_check_deliverability = fields.Boolean(
  16. string="Check deliverability of email addresses",
  17. help="Don't allow email addresses with providers that don't exist",
  18. )