From 2fc0ad8e0ed3e3e17b85396cc24b3f82d3efbbc0 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Wed, 21 Dec 2016 09:58:33 +0100 Subject: [PATCH] [FIX] mail: can't send notification in spanish Line return are missing before mako declarations causing errors when rendering the template. opw-702070 opw-701959 --- addons/mail/i18n/es.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/mail/i18n/es.po b/addons/mail/i18n/es.po index 30a6c491ac8..29e3af4a568 100644 --- a/addons/mail/i18n/es.po +++ b/addons/mail/i18n/es.po @@ -15,7 +15,7 @@ msgstr "" "Project-Id-Version: Odoo 9.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-09-22 13:16+0000\n" -"PO-Revision-Date: 2016-11-28 10:44+0000\n" +"PO-Revision-Date: 2016-12-21 10:44+0000\n" "Last-Translator: Ignacio Garbizu \n" "Language-Team: Spanish (http://www.transifex.com/odoo/odoo-9/language/es/)\n" "MIME-Version: 1.0\n" @@ -126,7 +126,7 @@ msgid "" " \n" "\n" "% endif\n" -msgstr "\n
% if ctx.get('button_access'): % endif
% if ctx.get('button_access'): ${ctx['button_access']['title']} % endif % if ctx.get('button_follow'): ${ctx['button_follow']['title']} % elif ctx.get('button_unfollow'): ${ctx['button_unfollow']['title']} % endif % if not ctx.get('button_access') and not ctx.get('button_follow') and not ctx.get('button_unfollow') and ctx.get('model_name'):

Sobre ${ctx['model_name']} % if ctx.get('record_name'): : ${ctx['record_name']} % endif

% endif

% if ctx.get('actions'): % for action in ctx['actions']: ${action['title']} %if cmp(len(ctx['actions']), 1) == 1 and cmp(len(ctx['actions']), loop.index) == 1: | % endif % endfor % else: Enviado por % if ctx.get('website_url'): % endif ${ctx.get('company_name')} % if ctx.get('website_url'): % endif usando Odoo % endif


${object.body | safe} % if ctx.get('tracking'):
    % for tracking in ctx['tracking']
  • ${tracking[0]} : ${tracking[1]} -> ${tracking[2]}
  • % endfor
% endif
% if ctx.get('signature'):
${ctx['signature'] | safe}
% endif\n" +msgstr "" #. module: mail #: model:mail.template,subject:mail.mail_template_data_notification_email_default