콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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


아바타
취소
관련 게시물 답글 화면 활동
2
11월 23
7216
9
12월 22
24258
4
7월 25
6919
0
10월 18
3603
1
3월 15
5705