Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
18858 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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:




Awatar
Odrzuć

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.

Najlepsza odpowiedź

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lut 24
4627
1
wrz 20
7584
3
sty 25
4692
0
gru 24
1471
1
wrz 24
7126