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

On the creation of a new user, an invitation mail is send. Where are the mail template and the functions located in the source code?

 

Thanks.
 

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

In the auth_signup Model used to on the creation of a new user, an invitation mail is send.

Email Template Located in addons/auth_signup/auth_signup_data.xml

Python addons/auth_signup/res_users.py create method overriden and  action_reset_password method is called.

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

Thanks, Prakash!

Câu trả lời hay nhất

I think you mean New employee: it's located in /addos/hr/hr.py around line 221

 

(Lines added after comment)

If it's related to OpenERP user, you can find it in the portal module (portal_wizard.py) and the email template is OpenERP Entreprise Connection (under: Settings --> Technical --> Email --> Templates).

It's used for all Partners including OpenERP users.

 

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

Thanks for your reply, but that's not what I'm looking for. I don't mean the welcome message for new employees, but the invitation email for new users.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
13209
2
thg 3 15
6245
1
thg 3 15
7597
2
thg 1 24
13122
1
thg 4 23
26526