Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
9280 Zobrazení

Hi,

I would like to disable or block email notification  when assigned (leads or opportunity ) to users , Odoo send email notification with lead or opportunity details. I am using Odoo 10.0

Avatar
Zrušit
Nejlepší odpověď

Hello

Try below code to avoid email notification when try to create new record (version 10.0)

For example if you want to create new task but disable email notification to follower you can reference below code

task = super(Task, self.with_context(mail_notrack=True)).create(vals)

Hope this help you.

Best Thanks,

Ankit H Gandhi.


Avatar
Zrušit
Nejlepší odpověď

For task creation do it like this (tested in Odoo 17):

with_context(mail_auto_subscribe_no_notify=True)

Avatar
Zrušit
Autor Nejlepší odpověď

I used it for another purpose , I  just want to disable send email notification  when lead or opportunity assigned to users . 

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
led 19
5831
0
srp 22
1935
2
zář 20
4976
2
čvc 19
4894
5
pro 17
9832