跳至内容
菜单
此问题已终结
4 回复
6057 查看

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
4988
1
7月 18
4347
5
9月 16
5352
0
5月 16
2990
1
3月 15
5373