Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Odoo V12 incoming mail route to user alias not working

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
mailerroruseraliasincome
7 Respostas
14014 Visualizações
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
Cancelar
Avatar
James White
Melhor resposta

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
Cancelar
Avatar
Lucas Huber
Melhor resposta

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
Cancelar
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
Melhor resposta

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

0
Avatar
Cancelar
Avatar
Gracey
Melhor resposta

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
Cancelar
Avatar
Mullit
Melhor resposta

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
Cancelar
Avatar
jeanphilippedemaison@gmail.com
Melhor resposta

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
Cancelar
Avatar
Mullit
Melhor resposta

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
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
Email Odoo 17 Enterprise
mail alias
Avatar
Avatar
2
nov. 24
1900
odoo server error
mail error
Avatar
0
set. 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' Resolvido
mail user odoo11
Avatar
Avatar
Avatar
8
nov. 20
34547
User and unicode character error. Resolvido
error user unicode
Avatar
Avatar
Avatar
Avatar
6
dez. 23
25379
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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