Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
9273 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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.


Imagine profil
Abandonează
Cel mai bun răspuns

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

with_context(mail_auto_subscribe_no_notify=True)

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
ian. 19
5827
0
aug. 22
1928
2
sept. 20
4966
2
iul. 19
4889
5
dec. 17
9814