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

I need a simple way to send me an email when a user is created.

With email templates or with a modul whatever.

When a user is created, send me an email.

please help, thank you all 

Awatar
Odrzuć
Najlepsza odpowiedź

Hello Wizardz,

Using Automated Action you can send mail to you/others when User is created in Odoo.

1) For that you have to first create the Email Template from Settings/Technical/Email/Templates menu. In that select Applies to as 'res.users'(Users) model, set subject, Enter whatever detail you want in Email Body, Set From Address, To address, etc..

2) Create the Server Action from Settings/Technical/Actions/Server Actions menu. In that set Base Model as res.users(Users), select Action To Do = Send Email, Select Email Template, that you have previously Created.Save the record.

3) Go to Settings/Technical/Automation/Automated Actions  menu. In that create one Automated Action. Select Related Document Model as res.users(Users), When to Run = On Creation, Add Action from Action tab, here add Action that you have created in step 2.

Once everything is done, try to create User. The To (Emails) is set in the Email Template will receive the mail. Also make sure your Outgoing server is configured properly.




Awatar
Odrzuć
Autor

why is this email everytime going to technical -> email > emails ??? I need to click a button more there to send this? Why? i want that this step is going automatic.

Najlepsza odpowiedź

Did you try to create a new custom message subtype and assign corresponding followers?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sie 16
2840
5
mar 16
4258
2
lut 16
6006
1
maj 23
1998
0
wrz 20
3706