تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
5 الردود
10462 أدوات العرض

Messages in private channels are not displayed and there are no notifications. I've configured longpolling and enabled workers but there are no notifications but I think that's due to that messages are not displayed in private channels.

The general channel works, but not the private. I've added both users as followers to the channel, there are no error in odoo log or in the browser console.

The message has the correct channel id in res_id and model. So I don't understand why there are not shown. 

Do I have to enable anything or what can be the problem? 

الصورة الرمزية
إهمال

Hi Samo, suddenly it is happening to me too. Some idea wellcome

الكاتب

Sorry have none. I couldn't fix it.

I have the same issue

PS:

Messages are saved correctly in mail_message table

Channel is created

But the issue come because of the mail_message_mail_channel_rel is not updated (This table represent the many2many relation between mail_message & mail_channel

One chat channel is working (2 users only can chat and they can see the messages they send, but other users no ..

Any idea how we can solve this issue ?

I think I solved this problem. Mail.followers was not populated by the mail.channel, in my case.due to a module to avoid followers auto subscribe in SO. So I disabled the module, cancelled the channel from technical settings and restarted the chat.

أفضل إجابة

I confirm the same problem and the solution is updating the table many2many relation between mail_channel and mail_message. I am investigating why this is happening. Should be something related to the users, since it's happening only with some users. Thanks for sharing

الصورة الرمزية
إهمال
الكاتب

hi, can you explain how you updated the m2m relation table?

with a sql query... :-/

I am still looking for the method doing it on odoo code, to understand what is generating the issue

I think I solved this problem. Mail.followers was not populated by the mail.channel, in my case.due to a module to avoid followers auto subscribe in SO. So I disabled the module, cancelled the channel from technical settings and restarted the chat.

الكاتب

Nice that you solved it. Yeah I doing something similar with projects and tasks.

أفضل إجابة

In my case all I had to do was set default to true in Technical > Subtypes (messages) > Discussions

الصورة الرمزية
إهمال
أفضل إجابة

Hi,
I don't think that I have module messing with the channels but I am facing the same issue.
At least two internal users can't send chat messages between them, but can send them to me.
mail_message_mail_channel_rel empty for their channel.
Did you find a solution ?
I am on odoo12 community

الصورة الرمزية
إهمال
أفضل إجابة

Which module do you mean? I'm facing the same issue and cannot find a solution 

الصورة الرمزية
إهمال
أفضل إجابة

Hi
I confirm the same problem. I found my mail_message_mail_channel_rel empty, so i am wondering  how to update it? (I am no SQL programmer, but a very little), if someone has a sample for me?

best regards

Jan

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
ديسمبر 22
3707
5
سبتمبر 19
8205
3
مايو 19
15300
1
نوفمبر 17
5581
2
يوليو 25
4775