Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

How to not show incoming emails in crm chatter

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
V16
1 Répondre
1963 Vues
Avatar
Martin

How can i prevent emails from incoming email server being created in the crm chatter?

0
Avatar
Ignorer
Avatar
Ahmed Abdu
Meilleure réponse

To prevent emails fetched from the incoming mail server from being automatically logged in the CRM chatter in Odoo, you can control this behavior at several levels, depending on your setup.


Here are the key options to prevent it


Option 1: Disable Auto-Followers or Auto-Threading

Odoo links incoming emails to existing records by matching the email's headers (Message-ID, References, etc.) or aliases. If you don’t want them to be added to the CRM chatter:


A. Remove aliases from CRM


Go to CRM > Configuration > Pipelines > Stages


Check if any alias is set up (like leads@yourdomain.com)


Remove or change the alias



B. Disable "Create a new record" in the alias settings


Go to Settings > Technical > Email > Aliases


Find the alias related to CRM


Set Action to Do nothing or Unlink it from CRM objects




---


Option 2: Modify Fetchmail or Mail Thread Behavior via Code


If you need finer control (e.g., allow emails in Helpdesk but not in CRM), override the mail handling logic:


Example: Override message_route or message_new to exclude CRM


from odoo.addons.mail.models.mail_thread import MailThread

from odoo import models


class CustomMailThread(MailThread):

    def message_route(self, message, message_dict, model=None, thread_id=None, custom_values=None):

        # Skip processing if it's for crm.lead

        if model == 'crm.lead':

            return []

        return super().message_route(message, message_dict, model, thread_id, custom_values)


This prevents emails from being routed to crm.lead.



---


Option 3: Use Domain Filtering in Incoming Mail Server


You can add filters to avoid processing certain messages altogether.


Go to Settings > Technical > Email > Incoming Mail Servers


Open your mail server


Add custom Python code in the Actions to Perform on Incoming Mails (e.g., skip based on subject or sender)




---


Option 4: Unsubscribe System from Threads


Sometimes, Odoo posts email replies to CRM because the system user is a follower. You can:


Disable automatic followers in CRM settings


Or programmatically unsubscribe users from records



lead.message_unsubscribe([user_id])



---


If you tell me how your mail server is configured or how you receive CRM messages (e.g., via alias, manually, automated integration), I can tailor the solution more precisely.



1
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
How to pass value from employee to contact on odoo 16 using code Résolu
V16
Avatar
Avatar
Avatar
Avatar
Avatar
4
juil. 25
2605
Automatic taxes
V16
Avatar
Avatar
1
avr. 25
1598
how to get quotation builder section into quotation
V16
Avatar
0
mars 25
1610
Context not passed correctly when creating a new contact
V16
Avatar
Avatar
1
sept. 24
2792
Unable to see number of tickets when buying an Event on mobile (only in landscape mode)
V16
Avatar
0
août 24
2045
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now