summaryrefslogtreecommitdiff
path: root/addons/project/data/project_demo.xml
diff options
context:
space:
mode:
authorPratima Gupta <pgu@odoo.com>2018-06-04 15:55:30 +0200
committerThibault Delavallée <tde@odoo.com>2018-06-08 15:31:59 +0200
commita461eba04c39d68e83fe6109ecc452fb4ce44230 (patch)
tree187a364213d98eb1419e9de9cc7226bcbfde029c /addons/project/data/project_demo.xml
parent9eb89131f346ff32a1a1ba3713d7c30499718112 (diff)
[IMP] project: make email templates bioutifoul
Purpose of this commit is to enhance quality of templates proposed by Odoo and make them use notification layout when send by emails. Those emails are cleaner and more up to date compared to other emails. Including * reception acknowledgment template is moved from demo to data to ensure people have a template to copy and use for their stages; * improve layout of rating request template; * use notification layout when sending template-based emails; * rename the admin spam template so that templates are correctly ordered when viewing them in list; This commit is related to task ID 51122 (and PR #24052).
Diffstat (limited to 'addons/project/data/project_demo.xml')
-rw-r--r--addons/project/data/project_demo.xml14
1 files changed, 0 insertions, 14 deletions
diff --git a/addons/project/data/project_demo.xml b/addons/project/data/project_demo.xml
index 269fee0efb8..c21509b9e9f 100644
--- a/addons/project/data/project_demo.xml
+++ b/addons/project/data/project_demo.xml
@@ -21,20 +21,6 @@
<field name="name">Usability</field>
</record>
- <!-- Email templates -->
- <record id="mail_template_data_project_task" model="mail.template">
- <field name="name">Task: Reception Acknowledgment</field>
- <field name="subject">Reception of ${object.name}</field>
- <field name="model_id" ref="project.model_project_task"/>
- <field name="use_default_to" eval="True"/>
- <field name="body_html"><![CDATA[
-<p>Dear ${object.partner_id.name or 'customer'},</p>
-<p>Thank you for your enquiry.<br /></p>
-<p>If you have any questions, please let us know.</p>
-<p>Best regards,</p>]]></field>
- <field name="auto_delete" eval="True"/>
- </record>
-
<!-- Stages -->
<record id="project_stage_0" model="project.task.type">
<field name="sequence">1</field>