コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
9328 ビュー

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

アバター
破棄
最善の回答

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.


アバター
破棄
最善の回答

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

with_context(mail_auto_subscribe_no_notify=True)

アバター
破棄
著作者 最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
1
1月 19
5865
0
8月 22
1969
2
9月 20
5035
2
7月 19
4949
5
12月 17
9892