跳至内容
菜单
此问题已终结

Hello everyone,

I use odoo enterprise v17 and am limited to customizations via odoo studio. I would like to leave a message in Chatter via an automated action, which is already working. Is it also possible to use the @ mention feature in such automatically generated messages? Here is my code snippet:


record.message_subscribe(partner_ids=partner_ids_to_add)
mention_message = f"@{responsible_user.partner_id.name}: I have [...]"
record.message_post(
​body= mention_message
​message_type='comment'
)


Cheers

Joshua

形象
丢弃
相关帖文 回复 查看 活动
0
2月 22
2204
2
10月 20
2102
2
11月 21
2693
1
10月 21
6555
0
8月 22
3249