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

Can someone point me in the right direction in creating daily project status emails.  I would like to have an email sent to each person involved in a project with their tasks, deadlines, etc.  Sort of a daily reminder of work that needs to be done, etc.   I've done a lot of searches but still can't quite find the information I need.  Is there anything out there that can do this for me?

Adam

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

To do this you need to create a cron job on the odoo server to generate (and send) emails to your team mebers. The content of the email is determined by an email template. In your case, I suggest createing template for the "task" model. I have shared a code segment that can be used to create the email in the following question thread https://www.odoo.com/forum/help-1/question/automatically-send-email-when-i-submited-a-form-76030.

Same thread contains tips how to create the server actions.

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

to have data from two models as data source for your email you could build a postgres view. See my latest question. It worked for me as basis for a graph view

https://www.odoo.com/forum/help-1/question/graph-view-with-data-from-multiple-tables-example-how-to-solved-75729
Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thank you for your response.  It definitely got me moving in the right direction.  One thing I have been having problems with is find good tutorials/docuemnts on building these custom emails.  Since I need to pull information from both projects and the tasks underneath the projects I'm not quite sure how to get the information from two seperate objects.

Does anyone have a link to some good tutorials regarding the customization/creation of email templates?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 23
5037
1
thg 7 18
4384
5
thg 9 16
5441
0
thg 5 16
3061
1
thg 3 15
5418