mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
TT38957 [UPD] Update account_payment_order_notification.pot [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: bank-payment-13.0/bank-payment-13.0-account_payment_order_notification Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_order_notification/ [FIX] account_payment_order_notification: Display the communication field in the email template. TT39982 [UPD] Update account_payment_order_notification.pot account_payment_order_notification 13.0.1.0.1
49 lines
2.1 KiB
XML
49 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<data>
|
|
<record id="email_account_payment_order_notification" model="mail.template">
|
|
<field name="name">Payment Order Notification: Send by email</field>
|
|
<field
|
|
name="model_id"
|
|
ref="account_payment_order_notification.model_account_payment_order_notification"
|
|
/>
|
|
<field name="email_from">${user.email_formatted |safe}</field>
|
|
<field name="partner_to">${object.partner_id.id}</field>
|
|
<field
|
|
name="subject"
|
|
>${object.company_id.name} Payment Order (Ref ${object.order_id.name or 'n/a'})</field>
|
|
<field
|
|
name="body_html"
|
|
><![CDATA[
|
|
<div style="font-family: 'Lucida Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; ">
|
|
<p>Hello ${object.partner_id.name or ''},</p>
|
|
% if object.order_id.payment_type == 'inbound':
|
|
<p>A debit order including at least one of your invoices has been processed and sent to the bank.</p>
|
|
% else:
|
|
<p>A payment order including at least one of your invoices has been processed and sent to the bank.</p>
|
|
% endif
|
|
<p>It includes the following transactions:</p>
|
|
<table>
|
|
<thead>
|
|
<tr style="height: 15px; background-color: #d8d8d8;font-size: 13px;font-weight:bold;" align="center" valign="middle">
|
|
<td>Number</td>
|
|
<td>Date</td>
|
|
<td>Amount</td>
|
|
</tr>
|
|
</thead>
|
|
% for payment_line in object.payment_line_ids:
|
|
<tr>
|
|
<td>${payment_line.communication}</td>
|
|
<td>${payment_line.date}</td>
|
|
<td>${format_amount(payment_line.amount_currency, payment_line.currency_id)}</td>
|
|
</tr>
|
|
% endfor
|
|
</table>
|
|
<p>Do not hesitate to contact us if you have any questions.</p>
|
|
</div>
|
|
]]></field>
|
|
<field name="lang">${object.partner_id.lang}</field>
|
|
<field name="user_signature" eval="False" />
|
|
<field name="auto_delete" eval="True" />
|
|
</record>
|
|
</data>
|