diff options
| author | Mitali Patel <mpa@odoo.com> | 2018-07-03 15:04:57 +0530 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-07-19 11:26:47 +0200 |
| commit | 870b05f69349f8ca5aa990b890f1246718f929b0 (patch) | |
| tree | 138bbb70ba23dd6bc6a1f448e02f47526956db69 /addons/project/data/digest_data.xml | |
| parent | 220ac81fa6e8695dc68abd18997c16c6c919db0d (diff) | |
[IMP] project: implement digest KPIs / tips
Purpose of commit is to implement KPIs about opened tasks for project
digest emails. Opened tasks are nor archived nor in a final stage. Those
are added in the default digest template.
A tip is added to remind to use the mail gateway.
This commit is linked to task ID 30655 and PR #18318.
Diffstat (limited to 'addons/project/data/digest_data.xml')
| -rw-r--r-- | addons/project/data/digest_data.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/addons/project/data/digest_data.xml b/addons/project/data/digest_data.xml new file mode 100644 index 00000000000..a932c99b290 --- /dev/null +++ b/addons/project/data/digest_data.xml @@ -0,0 +1,26 @@ +<?xml version='1.0' encoding='utf-8'?> +<odoo> + <data noupdate="1"> + <record id="digest.digest_digest_default" model="digest.digest"> + <field name="kpi_project_task_opened">True</field> + </record> + </data> + + <data> + <record id="digest_tip_project_0" model="digest.tip"> + <field name="sequence">6</field> + <field name="group_id" ref="project.group_project_manager"/> + <field name="tip_description" type="html"> +<div> + <strong style="font-size: 16px;">Try the mail gateway</strong> + <div style="font-size: 14px;"> + New tasks can be generated from incoming emails. You just need to set email aliases on your projects.<br/> + <div style="text-align:center;margin-top:5px;margin-bottom:2px;"> + <a href="/web#action=project.open_view_project_all_config" style="background-color:#56b3b5;padding:2px;color:#FFFFFF;font-weight:bold;text-decoration:none;">Set Email Aliases</a> + </div> + </div> +</div> + </field> + </record> + </data> +</odoo> |
