Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
7885 มุมมอง

I have faced the following behaviour with a user that has the "handle by Odoo" set in the notifications:

- People reply to messages (typical discussion in a record's discussion area).
- The messages are logged in Odoo, the status is that they were "sent"
- The messages show in the Discussion feature (in Odoobot channel)
- The user does not get any notification concerning the arrival of the message

Getting warned is critical for the user as, otherwise, he won't be able to reply on time.

Does anyone know what might cause this?




Version: Odoo13 EE

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Yes .....behaviors with previous versions is changed...try something like this.

self._message_create(
body=message,
partner_ids=[self.env.user.user_manager.partner_id.id],
message_type= "notification",
subtype_id= self.env.ref("mail.mt_comment").id,
record_name= self.name,
subject= _("Message subject new"),
model= self._name,
res_id= self.id

) 


Body and partner in list is enough for sending and you will get notification

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ย. 19
5463
5
ก.ค. 25
2607
6
พ.ย. 24
7575
How to automate initial configuration? แก้ไขแล้ว
4
ก.พ. 24
6933
3
มี.ค. 24
3194