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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
7742
查看
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
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
2
11月 19
|
5317 | ||
|
5
7月 25
|
2351 | ||
|
6
11月 24
|
7454 | ||
|
4
2月 24
|
6688 | ||
|
3
3月 24
|
3090 |