Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6347 มุมมอง

i have never been working on odoo email template or notification, i need to know how to make the notification when create , if there is any example it will be appreciated i'am trying to do that on odoo10

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I think this functionality is already implemented in hr_recruitment but you need to modify to according to your need   
https://github.com/odoo/odoo/blob/11.0/addons/hr_recruitment/data/hr_recruitment_data.xml#L387

here is an explanation of how it works
Define mail channel using it we can post a message and mail channel subscribed by groups or members 
https://github.com/odoo/odoo/blob/11.0/addons/mail/data/mail_channel_data.xml#L5
you can define Authorized Group by group_public_id and auto subscription by Auto Subscription

Post and message to this channel on new employee creation 
https://github.com/odoo/odoo/blob/11.0/addons/hr_recruitment/models/hr_employee.py#L36


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Mail Notification : Customize the text แก้ไขแล้ว
2
พ.ย. 23
7216
9
ธ.ค. 22
24268
4
ก.ค. 25
6925
0
ต.ค. 18
3610
1
มี.ค. 15
5705