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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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 .
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 1 19
|
5874 | ||
|
0
thg 8 22
|
1982 | ||
|
2
thg 9 20
|
5049 | ||
|
2
thg 7 19
|
4953 | ||
|
5
thg 12 17
|
9897 |