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

Odoo V12 incoming mail route to user alias not working

S'inscrire

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

Cette question a été signalée
mailerroruseraliasincome
7 Réponses
14018 Vues
Avatar
Perino

According to https://www.odoo.com/de_DE/forum/hilfe-1/question/how-to-setup-email-alias-111570 I created aliases for all users. In this case it is firstname.lastname@mycompany.com. I checked userid from the database and did settings for Record Thread ID and Parent Record Thread ID in the alias configuration for the user.

While testing the configuration, no mails are received by the system. The mail will be sent to firstname.lastname@mycompany.com .The message in the inbox at the provider will be touched and set as read message. But the mail does not arrive to Odoo. When I check the logs I see the folloging error:

2018-12-06 05:56:20,732 844 INFO mydomainname odoo.addons.fetchmail.models.fetchmail: start checking for new emails on imap server catchall

2018-12-06 05:56:21,661 844 INFO mydomainname odoo.addons.mail.models.mail_thread: Routing mail with Message-Id <AM4PR0801MB2740F9DCF5C7CAC9311F0916EEA90@AM4PR0801MB2740.eurprd08.prod.outlook.com>: route ('res.users', 18, {}, 2, mail.alias(7,)): model res.users does not accept document update, fall back on document creation

2018-12-06 05:56:21,661 844 INFO mydomainname odoo.addons.mail.models.mail_thread: Routing mail with Message-Id <AM4PR0801MB2740F9DCF5C7CAC9311F0916EEA90@AM4PR0801MB2740.eurprd08.prod.outlook.com>: route ('res.users', 18, {}, 2, mail.alias(7,)): model res.users does not accept document update; skipping

2018-12-06 05:56:21,661 844 INFO mydomainname odoo.addons.fetchmail.models.fetchmail: Failed to process mail from imap server catchall.

Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/odoo/addons/fetchmail/models/fetchmail.py", line 178, in fetch_mail

    res_id = MailThread.with_context(**additionnal_context).message_process(server.object_id.model, data[0][1], save_original=server.original, strip_attachments=(not server.attach))

  File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 1418, in message_process

    routes = self.message_route(msg_txt, msg, model, thread_id, custom_values)

  File "/usr/lib/python3/dist-packages/odoo/addons/mass_mailing/models/mail_thread.py", line 33, in message_route

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

  File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 1273, in message_route

    update_author=True, assert_model=True, create_fallback=True)

  File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 1047, in message_route_verify

    self._routing_warn(_('model %s does not accept document update') % model, _('skipping'), message_id, route, assert_model)

  File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 946, in _routing_warn

    raise ValueError(short_message)

ValueError: Mailbox unavailable - model res.users does not accept document update

2018-12-06 05:56:21,778 844 INFO mydomainname odoo.addons.fetchmail.models.fetchmail: Fetched 1 email(s) on imap server catchall; 0 succeeded, 1 failed.


UserId and AliasId seems to be correct! What does this error mean?


2
Avatar
Ignorer
Avatar
James White
Meilleure réponse

FINAL UPDATE:

Elaine at Odoo did a lot of digging and confirmed that this "feature" had been causing quite a bit of confusion - some of the more technical folk could make this work, but then later on it caused some problems.  The decision was made to remove this "feature" - which was never intended to work.

I have passed on the recommendation that using a single GMAIL alias has these advantages:

  1. Retain corporate control/audit of internal email

  2. Save a lot on GMAIL monthly bills

  3. Dramatic reduction in mail administration

Elaine says that these are valid issues and they will discuss it internally.  I would say, if you feel strongly about this issue, please do make your voice heard.  For myself, I am about to spend a bunch of money at GMAIL and open my business to a major extra administration :-(

Thanks to Elaine for her awesome Odoo support!

-------------

Original Reply:

So far as I can find online, you need to set (presuming user_id=2):

  • Alias Model: Users

  • Record Thread ID: 2

  • Default Values: {'user_id':2}

  • Alias Contact Security: Everyone

  • Owner: (user chosen from drop-down list)

  • Parent Model: Users

  • Parent Record Thread ID: 2

As far as I know, this SHOULD be working.  But as everyone else on the planet seems to be noticing - not in Odoo V12.

I have opened a support ticket with Odoo and will update this thread once I have a response.

-----------------

Update: https://github.com/odoo/odoo/issues/29298

This seems to say that Odoo is not intended to be used as a mail client and that they are not supporting the ability for users to have an alias.  Alias is only designed to be used with chatter. So unless my support ticket says otherwise, I am guessing that we close this as "no longer a feature". But I will update when I hear officially.


0
Avatar
Ignorer
Avatar
Lucas Huber
Meilleure réponse

I cannot believe what I read in this thread. In V11 this feature does work, now using V13 it doesn't. I remember the times when Odoo did promote this feature as mayor advantage to reduce the administration and hosting costs of individual mail accounts. I see there is a problem in bigger companies, that the Odoo "mailserver" can't handle all the spam mails of several dozens of user alias mails, but in a smaller company this was a really nice feature. If there is an expert around I would be interested to see a workaround to enable this feature on V12/13. If it is only the missing creation right in the res.users model it shouln'd be such a hassle.

ValueError: Mailbox unavailable - model res.users does not accept document creation      
0
Avatar
Ignorer
Lucas Huber

At least for V12 exists a module that solves this issue.

https://www.odoo.com/apps/modules/12.0/mail_user_alias/

Avatar
Povilas Jurgaitis
Meilleure réponse

V13 incoming mail not working. Settings confirmed but no email incoming

0
Avatar
Ignorer
Avatar
Gracey
Meilleure réponse

There is a  possibility that user may face issues like, ‘Outlook not receiving emails’, ‘Outlook is slow to receive emails’, ‘unable to receive emails in Outlook but can send outlook incoming mail is not working’ etc. While sending or receiving emails. So, it becomes necessary to tackle the root causes of harmful errors. Check out the deeper information http://bit.ly/35IptFm

0
Avatar
Ignorer
Avatar
jeanphilippedemaison@gmail.com
Meilleure réponse

Same here and all over the internet. seems like all tickets related to Odoo 12 and this issue in github are closed without any answer...

0
Avatar
Ignorer
Avatar
Mullit
Meilleure réponse

Same here V12-20190314- mails go out and come back in , but other mails are not picked-up by the fetchmail. Have you found any solution in the meantime? I'm lost and the email management is a key function for me.

0
Avatar
Ignorer
Avatar
Mullit
Meilleure réponse

Same here V12-20190314- mails go out and come back in , but other mails are not picked-up by the fetchmail. Have you found any solution in the meantime? I'm lost and the email management is a key function for me.

0
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é
Email Odoo 17 Enterprise
mail alias
Avatar
Avatar
2
nov. 24
1900
odoo server error
mail error
Avatar
0
sept. 23
2081
no incoming external e-mails
mail alias v13
Avatar
Avatar
Avatar
Avatar
Avatar
5
mai 22
13842
Odoo 11. Mail Delivery FailedMail delivery failed via SMTP server 'None' Résolu
mail user odoo11
Avatar
Avatar
Avatar
8
nov. 20
34547
User and unicode character error. Résolu
error user unicode
Avatar
Avatar
Avatar
Avatar
6
déc. 23
25379
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