跳至內容
選單
此問題已被標幟
3 回覆
18854 瀏覽次數

Emails are automatically being sent in Odoo in many cases:

  • Helpdesk Tickets are created

  • Opportunities are created

  • Opportunities change Stage

  • Opportunities are Won

  • Invoices are created

  • Invoices are confirmed

In some cases (Opportunities) I don't want these emails sent because I am importing Leads overnight (sometimes hundreds a day).

In other cases (Invoices) I don't need an email twice - once when the Invoice is created, and another when the Invoice is confirmed.

How can I disable these?

頭像
捨棄
最佳答案

In Developer Mode, visit Technical --> Settings --> Email --> Subtypes.  Here you will see a list of all the possible document "events" that users can subscribe to, including the ones that are subscribed to by default. Simply unmark the ones set to default that you don't want to be sent by default:



To selectively opt ALL FOLLOWERS on certain Documents back in to the default behavior, manually subscribe those documents to the same "events" to get the emails again.  Do this from each Document by clicking the BELL icon:



To selectively opt SOME FOLLOWERS on certain Documents back in to the default behavior, manually subscribe those followers to the same "events" to get the emails again.  Do this from each Follower on each Document by clicking the PENCIL icon:




頭像
捨棄

Thanks Ray, is there any documentation on how to create new subtypes? I would like to get a notification when an MO changes state for example ...

Creating new subtypes is only possible with development. Review https://www.odoo.com/documentation/16.0/developer/reference/backend/mixins.html#track_subtype and have your developer also review the source code, specifically the project module where Users can be notified when the stage of a Project Task changes.

最佳答案

I unchecked the 'Invoice Created' for the model crm.team. However, the person who created the invoice is always added as follower and receives the e-mail when the invoice is created. How can I prevent that the mail is sent when the invoice is created?

頭像
捨棄
最佳答案

I had almost the same situation but I wanted to suppress the send email just to the Opportunity/Lead when it was created.

I had success using Automation Rules and Subtype as domain.

Name: Supper CRM Assignment email 

Model: Outgoing Mails

Trigger: On save

Before Update Domain: Subtype is in Opportunity Created

Apply on: all records

Action to Do: Update to (Partners) by clearing it


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
2月 24
4625
1
9月 20
7583
3
1月 25
4688
0
12月 24
1469
1
9月 24
7124