跳至內容
選單
此問題已被標幟
4 回覆
6089 瀏覽次數

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

頭像
捨棄
最佳答案

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.

頭像
捨棄
最佳答案

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
頭像
捨棄
作者 最佳答案

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?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
8月 23
5018
1
7月 18
4369
5
9月 16
5398
0
5月 16
3048
1
3月 15
5388