From 478250de2dd07cdd61720ce1594c43b574925206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Wed, 19 Apr 2023 08:30:00 +0200 Subject: [PATCH] [FIX] document_page_approval: Change mail template expressions --- .../data/email_template.xml | 55 ++++++++----------- 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/document_page_approval/data/email_template.xml b/document_page_approval/data/email_template.xml index deb0ea5a..a21af84b 100644 --- a/document_page_approval/data/email_template.xml +++ b/document_page_approval/data/email_template.xml @@ -5,41 +5,34 @@ Automated new draft need approval Notification Mail ${object.create_uid.company_id.email or 'noreply@localhost.com'} + >{{object.create_uid.company_id.email or 'noreply@localhost.com'}} New version of ${object.display_name} needs your approval + >New version of {{object.display_name}} needs your approval - ${object.create_uid.partner_id.lang} - - Hello,

- -

${object.create_uid.name} submited a new Change Request for ${object.page_id.name} and it needs your approval.

- -

${object.display_name}

-

-Modified by: ${object.create_uid.name}
-Date: ${object.create_date}
-

- -% if object.summary: -

Summary

-

${object.summary}

-% endif - -

Diff

-
-${object.diff|safe} -
- -

Have a great day.

- ---
- -

Odoo

- ]]> + {{object.create_uid.partner_id.lang}} + +

Hello,

+

submited a new Change Request for and it needs your approval.

+

+ +

+

Modified by:

+

Date:

+ +

Summary

+

+ +

Diff

+
+ +
+

Have a great day.

+
+

Odoo