Is there any way if an Employee asks for time off , his approval or his manager receive an E mail except the notification ?
Bu soru işaretlendi
Hi,
In Odoo 17 Community, only internal notifications are sent by default for time off requests.
You can send an email to the manager using Automated Actions.
Turn on Developer Mode.
Go to Settings > Technical > Automated Actions > Create.
Set:
Model: Time Off (hr.leave)
Trigger: On Creation or On Update
Domain: [('state','=','confirm')] (when leave is submitted)
Action To Do: Send Email
Create or link an Email Template:
To (Emails): {{object.employee_id.parent_id.work_email}}
Subject: e.g., Time Off Request from {{object.employee_id.name}}
Body: Add leave type, dates, etc.
Save and test by submitting a time off request.
Make sure the manager is set in the employee form and has an email.
Hope it helps.
Thank you for your fast responce , but there is no such option in Technical , the only similar that i can see is under Automation : Scheduled Actions & Scheduled actions Triggers .
In Odoo 17 it is renamed to Automation Rules. If it's not installed, go to Apps, remove the "App" filter and search for Automation Rules (base_automation) and Activate it.
Tartışma hoşunuza mı gidiyor? Sadece okumakla kalmayın, katılın!
Özel özelliklerden yararlanmak ve harika topluluğumuzla etkileşime geçmek için bugün bir hesap oluşturun!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
|
3
Tem 24
|
5716 | ||
|
|
2
Tem 25
|
2688 | ||
|
|
1
Kas 25
|
1572 | ||
|
|
2
Eyl 25
|
3950 | ||
|
|
1
Ağu 25
|
3940 |