Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4810 Lượt xem

Using Odoo 13. when a manager approves the leave (time-off), notification is send to requesters email.

Can this notification mail send to one more additional email id. Also is it possible to edit this email body text

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

You can set all by automated actions with mail templates.

Create mail template:

Settings > Technical > Templates


Create Automated action

Settings > Technical > Automated Actions




Ảnh đại diện
Huỷ bỏ
Tác giả

I created the action and email template, still i dont receive any mail notifications. Anything else to be done ?

Tác giả

I created an email template and automated action to send alert whenever an leave/timeoff is approved. I can see the mails in odoo emails section. There's a send now button. How can it be send automatically whenever leave approved.

Tác giả Câu trả lời hay nhất

Thank you fasil.

I was able to find this template. How do call variables in the subject and body. For eg subject should be "User" on leave "date"

Here User and date are variables. Where do i get Odoo variable list.

Also, the automated Action is not found in odoo13, below are options available for me. 

https://ibb.co/hR2GDZk

https://ibb.co/wJjQYcQ

https://ibb.co/C00rQqr

Ảnh đại diện
Huỷ bỏ

Hello Charles,

To use automated actions you need to install the base_automation application from the apps page. Be sure to remove the filter before searching.

To call variables in the email template, you can click on the "Dynamic Placeholder Generator". From here you select the field (and sub-field if needed) and then copy the expression into the email.

I hope this helps.

Thanks,

Tác giả

am using ${object.display_name} and it shows the complete username and leave date
eg user1 on Full Day Leaves 2022-2023: 0.50 days
I only need user1 in the mail.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 24
1242
1
thg 12 23
2315
1
thg 3 15
7489
0
thg 2 25
881
0
thg 7 24
1107