kdeb@odoo.com c5cefea2dc [FIX] iap: add generic email domains to _MAIL_DOMAIN_BLACKLIST
Issue:
    When we have open tickets from anyone with
    the email domain @proton.me, they are linked
    together even though this domain is generic,
    not a private one.
    same issue with @cegetel.net and @dbmail.com

Steps To Reproduce:
    - Create three tickets with "@proton.me"
    domain but different addresses.
    - See that in the smart button, the tickets
    are linked to each other even though the
    customers are different.

Solution:
    - in `_compute_partner_ticket_count` we check
    if the email domain of the partner is in
    `iap_tools._MAIL_DOMAIN_BLACKLIST `, if not,
    we consider the email to be a company email
    which tickets can be grouped by.

    - the _MAIL_DOMAIN_BLACKLIST is a list of generic
    email providers on which IAP services should not run.
    Retrieving company information from them makes no sense.

    - To fix this issue I added `proton.me`,
    `cegetel.net`  and `dbmail.com`
    to _MAIL_DOMAIN_BLACKLIST

opw-3786308

closes odoo/odoo#160804

X-original-commit: 0258fccc217142e66873c1dbb99efbfdd70a3887
Signed-off-by: Louis Baudoux (lba) <lba@odoo.com>
Signed-off-by: Kawtar Drissi El Bouzaidi (kdeb) <kdeb@odoo.com>
2024-04-09 11:19:46 +00:00
…
…
…
…
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%