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

Automated Action - Notify All Channel Participants of All New Messages

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
pythonnotificationsdiscussionautomationchannels
1 Responder
5136 Visualizações
Avatar
Cliff Kujala

I understand the default behavior to not send every participant a push notification for every message posted to a discuss channel, because in a large channel the quantity of messages could be crazy.  However, some channels are intended for critical notices and participants should receive push notifications when messages are posted, without the need to @ a person directly.

I'm fairly close to getting an Automated Action to work for sending Push Notifications to All Discuss Channel Participants, but it results in the push messages being posted to the res.partner model.

Hoping some of the guru's here could help to modify the python code so that it doesn't create extra messages, but instead just adds all the participants as notified people on the message.

Note: 
I do have the settings for the discuss channel to notify on All Messages, and we do get the notification badge in our little chat bubble at the top of the browser, but we want push on our phones as well.




----




0
Avatar
Cancelar
Avatar
Ray Carnes (ray)
Melhor resposta

Why not just have each User download the Android or iOS App for Odoo and login to the database to receive notifications on their Phones?

0
Avatar
Cancelar
Cliff Kujala
Autor

Added photos of the trigger and code. The forum wasn't working to add them when I first posted.

@Ray Carnes unless you callout a user with the @ sign while posting a message to the discuss channel, they will not get a push message to their mobile phone. That is my experience using either the iOS app or the PWA.

Cliff Kujala
Autor

Ray, I reinstalled the iOS app just to retest (we are all using the PWA now instead of the native App).

We definitely do not receive push notifications unless we @ someone in a discuss channel.

We do get push notifications for direct chats between 2 people. Looking into the DB, 2 person chat is just a discuss.channel but it has the type of chat instead of group or channel.

Ray Carnes (ray)

Apparently this feature was lost in Odoo 15. It is on the roadmap to restore in Odoo 18. https://github.com/odoo/odoo/pull/162401

Cliff Kujala
Autor

OK good news it will be fixed in V18, but realistic use of V18 is almost a year away for any users with customizations.

Anyone have thoughts on how to fix the automated action to bring this type of functionality into play now? Like I said the automated action I posted is successfully notifying all the participants of a channel, it is just doing it in the wrong way. It creates separate messages for each user, and posts the notification to their res.partner chatter.

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
How to send parent record value to child record(s) using Python code and the improved Automations?
python automation
Avatar
0
nov. 23
2344
Remove Journal Entry Error Notifications Resolvido
error notifications discussion
Avatar
Avatar
1
dez. 24
2118
Browser Notification Popup and mobile App Resolvido
notifications discussion v17
Avatar
Avatar
Avatar
Avatar
3
dez. 24
4810
Odoo Discord Integration
integration notifications automation
Avatar
0
nov. 23
5773
Desktop Notification Enable
notifications discussion desktop
Avatar
0
abr. 17
13865
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