From 291eac3c02257ed8bf30535f2049277262adb097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Laporte?= <stephane.laporte@enercoop.org> Date: Thu, 13 Feb 2025 17:47:03 +0100 Subject: [PATCH] =?UTF-8?q?[UPD]=20mod=C3=A8le=20de=20mail=20facture=20htt?= =?UTF-8?q?ps://trello.com/c/LaqWEqhh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/mail_template_data.xml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/data/mail_template_data.xml b/data/mail_template_data.xml index bcb1ebe..15717c7 100644 --- a/data/mail_template_data.xml +++ b/data/mail_template_data.xml @@ -20,17 +20,12 @@ <field name="body_html" type="html"> <div style="margin: 0px; padding: 0px;"> <p style="margin: 0px; padding: 0px; font-size: 13px;"> - Cher + Bonjour + <t t-out="object.partner_id.name or ''">Brandon Freeman</t> <t t-if="object.partner_id.parent_id"> - <t - t-out="object.partner_id.name or ''" - >Brandon Freeman</t> (<t - t-out="object.partner_id.parent_id.name or ''" - >Azure Interior</t>), - </t> - <t t-else=""> - <t t-out="object.partner_id.name or ''">Brandon Freeman</t>, + (<t t-out="object.partner_id.parent_id.name or ''">Azure Interior</t>) </t> + , <br /><br /> Veuillez trouver ci-joint votre <t t-if="object.name"> @@ -49,7 +44,7 @@ de <t t-out="object.company_id.name or ''">Producteur</t>. <t t-if="object.payment_reference"> <br /><br /> - Veuillez utiliser la communication suivante pour votre paiement : <span + Veuillez utiliser la référence suivante pour votre paiement : <span style="font-weight:bold;" t-out="object.payment_reference or ''" >INV/2021/05/0005</span>. @@ -83,14 +78,20 @@ <field name="reply_to">{{ object.company_id.email_formatted }}</field> <field name="subject" - >OACC {{ object.acc_operation_id.name }} : votre facture est disponible.</field> + >{{ object.acc_operation_id.description }} - {{ object.acc_operation_id.name }} : votre facture est disponible.</field> <field name="description" >Envoi automatique notification facture OACC aux clients</field> <field name="body_html" type="html"> <div style="margin: 0px; padding: 0px;"> <p style="margin: 0px; padding: 0px; font-size: 13px;"> - Bonjour,<br /><br /> + Bonjour + <t t-out="object.partner_id.name or ''">Brandon Freeman</t> + <t t-if="object.partner_id.parent_id"> + (<t t-out="object.partner_id.parent_id.name or ''">Azure Interior</t>) + </t> + , +q <br /><br /> Votre nouvelle facture d’électricité renouvelable et locale pour la période du <t t-out="object.start_date.strftime('%d/%m/%Y')" /> au -- GitLab