diff --git a/data/mail_template_data.xml b/data/mail_template_data.xml index bcb1ebe54ebbecc6592bfe08244f67648ef6a34d..15717c7d5fb8e1abe5d90b5b33251b92b8c9405b 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