Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5 Trả lời
9213 Lượt xem

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? 

Ảnh đại diện
Huỷ bỏ

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

Tác giả

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.

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Tác giả

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 22
3163
5
thg 9 19
7519
3
thg 5 19
14697
1
thg 11 17
5004
2
thg 12 24
6721