Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
feb. 22
2201
2
oct. 20
2096
2
nov. 21
2692
1
oct. 21
6547
0
aug. 22
3227