This question has been flagged
5 Replies
7383 Views

it is possible?, i read a few answers but nothing working to my.

already uncheck de portal customers, the optout is disable too for my partners, i dont know what can i do. i can't find nothing in the source code, anyone know the way?

sorry for my bad english.

Avatar
Discard
Best Answer

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
Discard
Best Answer

Hello Med Said,


Very interested in this post but (I'm using version 8.0) can't find the menu you are referring to...

Any idea whether this option still exists?

Avatar
Discard
Best Answer

Hi;

Go under Settings ---> Technical ---> Automated Action ---> Automated Action, here you'll probably find the action "auto email notification related to meeting", open it, edit it, and make it inactive by unchecking the field "Active".

Avatar
Discard
Best Answer

did you find a solution for this? we have the same need here: not to send email notifications for meetings.

Avatar
Discard
Author

yes, had problems to do for my unexperience:

in the file "base_calendar.py" u need find the line "def create_attendees" and modify the code, where say "if partner.email:" i erased a few lines, reboot the instance and work