From 4c06e4f893e5a0cd6237f8d2a97ddfec9122ea26 Mon Sep 17 00:00:00 2001 From: Hiral Bhavsar Date: Fri, 11 Oct 2019 07:03:38 +0000 Subject: [PATCH] [IMP] crm: add demo mail template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add new activity type 'Email with Template' for demo purpose and add a mail template for it. task-1887986 closes odoo/odoo#38944 Signed-off-by: Alexandre Kühn (aku) --- addons/crm/data/mail_activity_demo.xml | 88 ++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/addons/crm/data/mail_activity_demo.xml b/addons/crm/data/mail_activity_demo.xml index 4dad17022ff..b59cccdfd99 100644 --- a/addons/crm/data/mail_activity_demo.xml +++ b/addons/crm/data/mail_activity_demo.xml @@ -18,4 +18,92 @@ 10 + + + Welcome Demo + + ${object.partner_id != False and object.partner_id.id} + ${(not object.partner_id and object.email_from)|safe} + + + + +
+ + + + + + + + + + + + + + + +
+ + + +
+ Your Lead/Opportunity
+ + ${object.name} + +
+ ${object.company_id.name} +
+
+
+
+ + + + +
+
+ Hi ${object.partner_id and object.partner_id.name or ''},

+ Welcome to ${object.company_id.name}. + It's great to meet you! Now that you're on board, you'll discover what ${object.company_id.name} has to offer. My name is ${object.user_id.name} and I'll help you get the most out of Odoo. Could we plan a quick demo soon?
+ Feel free to reach out at any time!

+ Best,
+ % if object.user_id: + ${object.user_id.name} +
Email: ${object.user_id.email or ''} +
Phone: ${object.user_id.phone or ''} + % else: + ${object.company_id.name} + % endif +
+
+
+
+ ${object.company_id.name}
+
+ ${object.company_id.phone} + % if object.company_id.email + | ${object.company_id.email} + % endif + % if object.company_id.website + | ${object.company_id.website} + % endif +
+
+
+ Powered by Odoo +
+
+ ${object.partner_id.lang} + +
+ + + Email: Welcome Demo + fa-envelope + + +