跳至内容
菜单
此问题已终结
2 回复
5090 查看

I want to send a notification to internal followers of a task, when this task changes to a closing stage. 

I can send a mail to the person who is assigned to the task. They receive it as an email despite in their profile is set "Handle in Odoo" for the notifications. 

I would like all followers who are subscribed to the notes to receive an Odoo notification. 

Any idea? 




形象
丢弃

Please use runbot or https://demo.odoo.com for screenshots, if you are not able to change to english in your own instance.

最佳答案

Hey,

If you want to sent notification to user in Odoo, try setting an activity. Activities can also be scheduled via automated actions

形象
丢弃
编写者

Thank you, for your answer.

I know that is possible to set an activity from an automated action. I could be a possible solution to my needs.

The point is that the activity needs to be marked as done by the user. The notifications only have to be read. I think that it fills better the requirement.

In addition, I want to send the notification to all internal followers of the task. Activities (via automated actions) can only be assigned to a specific user or to the user assigned to the task.

Josep Anton.

最佳答案

It looks like the solutions shared by CZoellner works for your purpose:

You could use ${str(object.message_partner_ids.ids).replace('[', '').replace(']', '')} in "To (Partners)" field.

形象
丢弃