Browse Source
Merge pull request #25 from Tecnativa/10.0-upd-privacy_consent
[10.0][UPD] privacy_consent: set partner lang on mail template
pull/26/head
Pedro M. Baeza
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
privacy_consent/data/mail.xml
|
|
@ -1,5 +1,6 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<!-- Copyright 2018 Tecnativa - Jairo Llopis |
|
|
|
Copyright 2019 Tecnativa - Cristina Martin R. |
|
|
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> |
|
|
|
|
|
|
|
<data> |
|
|
@ -10,6 +11,7 @@ |
|
|
|
<field name="subject">Data processing consent request for ${object.activity_id.display_name|safe}</field> |
|
|
|
<field name="model_id" ref="model_privacy_consent"/> |
|
|
|
<field name="use_default_to" eval="True"/> |
|
|
|
<field name="lang">${object.partner_id.lang}</field> |
|
|
|
<field name="body_html" type="xml"> |
|
|
|
<div style="background:#F3F5F6;color:#515166;padding:25px 0px;font-family:Arial,Helvetica,sans-serif;font-size:14px;"> |
|
|
|
<table style="width:600px;margin:5px auto;"> |
|
|
|