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
    • Inteligência Artificial
    • 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
    • Gestão de Imóveis
    • 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
    • Agende uma Demonstração
    • 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
É 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

Some users cannot see chatter messages (tracking / history) for a custom model – access rights & record rules seem fine

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
chatterrecord_rulesaccess rights
2 Respostas
1173 Visualizações
Avatar
Uday Sankar k

I’m facing an issue related to chatter  visibility in Odoo and would like to understand if this is expected behaviour or if I’m missing something.

For a custom model
some users cannot see any chatter messages (tracking / history), and the UI shows:

However:

  • Chatter messages do exist in mail_message

  • Other users (including admin / superuser) can see the full chatter

  • The affected users can still:

    • Open the record

    • Perform actions on the record

    • Post new messages (but cannot see old ones)

There are no messages in this conversation

I already checked Access rights (ir.model.access) – OK
Record rules (ir.rule) – evaluated and tested
No record rules on mail.message
The default company of the affected users is different from the company of the record
Even when the record is accessible and backend checks pass, chatter remains empty

what ELSE is left to check in this case?

0
Avatar
Cancelar
Avatar
CandidRoot Solutions
Melhor resposta

Hey Uday,

I have banged my head against this exact wall before. Since you already confirmed standard ACLs and Record Rules are passing, and the user can actually write to the record, standard logic says they should see the history.

However, because you mentioned "The default company of the affected users is different from the company of the record," I am 99% sure this is the "Multi-Company Message Rule" biting you.

Here is what is likely happening and what you need to check:

1. The mail.message Company Trap We often forget that mail.message is a model itself, and it has a company_id field.

  • The Scenario: When the record was created (or when those old messages were posted), they were likely stamped with Company A.

  • The Problem: Even if your user (from Company B) has a record rule to see the Record itself, there is a global multi-company rule that applies to every model with a company_id field.

  • The Conflict: If the user is logged in and their "Allowed Companies" (top right switch) is set to only Company B, Odoo’s standard multi-company security will strictly hide any mail.message rows belonging to Company A. They see the record shell, but the messages inside are filtered out by SQL.

The Fix/Test: Ask the affected user to tick the box for the Record's company in their top-right company switcher (so they are in "Company B + Company A" mode). I bet the chatter instantly appears.

2. Subtypes and "Internal" Groups If the multi-company check passes, the next "invisible" filter is the Message Subtype.

  • Check the mail.message rows in the database. Do they have a subtype_id?

  • Go to Settings > Technical > Email > Subtypes.

  • Check the subtype for "Discussions" or "Note" related to your custom model.

  • If the "Internal Only" boolean is checked on that subtype, users must be part of the specific Internal/Employee group to see them. If your custom users are "Portal" or "Public" or a custom restricted group, they won't see messages of that subtype.

3. The "Partner" Filter (Rare but possible) Sometimes, messages are created with specific partner_ids (private notifications). If the message was sent "Privately" to a specific list of partners and the current user isn't in that list, they won't see it, even if they have access to the document.

My money is on #1. Since they can post new messages (which likely get stamped with their current company, Company B), they can see their own new messages, but the old history (Company A) remains invisible until they switch their allowed company context.

Let me know if that was it!

If this helped, kindly upvote.
Best Regards,


CandidRoot Solutions Pvt. Ltd.
Mobile: (+91) 8849036209
Whatapp: (+91) 8849036209

Email: info@candidroot.com
Web: https://www.candidroot.com

1
Avatar
Cancelar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Melhor resposta
Hi,

When users cannot see chatter messages (tracking/history) for a custom Odoo model, even if general access rights and record rules appear correct, the issue often stems from specific configurations. First, ensure the custom model inherits from mail.threadand includes the <chatter/>element in its form view. Crucially, verify that affected users have at least read access to the custom model itself, as chatter visibility is tied to record access. A common cause is messages being posted as "internal notes," which are typically only visible to users in the base.group_usergroup (internal users); if the users in question are portal users or lack this group, they won't see these notes. While record rules are checked, a deeper review is warranted, as a restrictive rule on the custom model can prevent access to the record and, consequently, its chatter. Finally, confirm that the _mail_post_accessattribute on mail.threadis not inadvertently restricting visibility.


Hope it helps.


-1
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!

Inscrever-se
Publicações relacionadas Respostas Visualizações Atividade
Access Rights Limitations
record_rules Security access rights
Avatar
Avatar
2
nov. 24
3372
Allow user to leave messages in chatter but not alter record
security chatter record_rules
Avatar
0
fev. 24
3368
Acces rights, record rules and notification and messages V14
groups chatter record_rules v14
Avatar
0
jun. 24
1454
Leaves Approval through hierarchical manner
record_rules
Avatar
1
abr. 26
4536
Toggle chatter button on todo tasks - Have it everywhere in odoo? Resolvido
chatter
Avatar
Avatar
1
mar. 26
1818
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 Svenska ภาษาไทย 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