mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_payment_order_notification: Show supplier invoice reference if applicable.
TT40795
This commit is contained in:
@@ -33,7 +33,11 @@
|
||||
<tbody>
|
||||
% for payment_line in object.payment_line_ids:
|
||||
<tr>
|
||||
<td>${payment_line.communication}</td>
|
||||
% if payment_line.move_line_id.move_id.move_type in ("in_invoice", "in_refund") and payment_line.move_line_id.move_id.ref:
|
||||
<td>${payment_line.move_line_id.move_id.ref}</td>
|
||||
% else:
|
||||
<td>${payment_line.communication}</td>
|
||||
% endif
|
||||
<td>${payment_line.date}</td>
|
||||
<td>${format_amount(payment_line.amount_currency, payment_line.currency_id)}</td>
|
||||
</tr>
|
||||
|
||||
@@ -6,6 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 14.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-02-22 15:35+0000\n"
|
||||
"PO-Revision-Date: 2023-02-22 15:35+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@@ -36,7 +38,11 @@ msgid ""
|
||||
" <tbody>\n"
|
||||
" % for payment_line in object.payment_line_ids:\n"
|
||||
" <tr>\n"
|
||||
" <td>${payment_line.communication}</td>\n"
|
||||
" % if payment_line.move_line_id.move_id.move_type in (\"in_invoice\", \"in_refund\") and payment_line.move_line_id.move_id.ref:\n"
|
||||
" <td>${payment_line.move_line_id.move_id.ref}</td>\n"
|
||||
" % else:\n"
|
||||
" <td>${payment_line.communication}</td>\n"
|
||||
" % endif\n"
|
||||
" <td>${payment_line.date}</td>\n"
|
||||
" <td>${format_amount(payment_line.amount_currency, payment_line.currency_id)}</td>\n"
|
||||
" </tr>\n"
|
||||
|
||||
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 13.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-12-14 07:51+0000\n"
|
||||
"PO-Revision-Date: 2022-12-14 08:54+0100\n"
|
||||
"POT-Creation-Date: 2023-02-22 15:35+0000\n"
|
||||
"PO-Revision-Date: 2023-02-22 16:37+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: es\n"
|
||||
@@ -44,7 +44,12 @@ msgid ""
|
||||
" <tbody>\n"
|
||||
" % for payment_line in object.payment_line_ids:\n"
|
||||
" <tr>\n"
|
||||
" <td>${payment_line.communication}</td>\n"
|
||||
" % if payment_line.move_line_id.move_id.move_type in "
|
||||
"(\"in_invoice\", \"in_refund\") and payment_line.move_line_id.move_id.ref:\n"
|
||||
" <td>${payment_line.move_line_id.move_id.ref}</td>\n"
|
||||
" % else:\n"
|
||||
" <td>${payment_line.communication}</td>\n"
|
||||
" % endif\n"
|
||||
" <td>${payment_line.date}</td>\n"
|
||||
" <td>${format_amount(payment_line.amount_currency, "
|
||||
"payment_line.currency_id)}</td>\n"
|
||||
@@ -80,7 +85,12 @@ msgstr ""
|
||||
" <tbody>\n"
|
||||
" % for payment_line in object.payment_line_ids:\n"
|
||||
" <tr>\n"
|
||||
" <td>${payment_line.communication}</td>\n"
|
||||
" % if payment_line.move_line_id.move_id.move_type in "
|
||||
"(\"in_invoice\", \"in_refund\") and payment_line.move_line_id.move_id.ref:\n"
|
||||
" <td>${payment_line.move_line_id.move_id.ref}</td>\n"
|
||||
" % else:\n"
|
||||
" <td>${payment_line.communication}</td>\n"
|
||||
" % endif\n"
|
||||
" <td>${payment_line.date}</td>\n"
|
||||
" <td>${format_amount(payment_line.amount_currency, "
|
||||
"payment_line.currency_id)}</td>\n"
|
||||
@@ -91,7 +101,7 @@ msgstr ""
|
||||
" <p>No dude en ponerse en contacto con nosotros si tiene alguna pregunta."
|
||||
"</p>\n"
|
||||
"</div>\n"
|
||||
" "
|
||||
" "
|
||||
|
||||
#. module: account_payment_order_notification
|
||||
#: model:mail.template,subject:account_payment_order_notification.email_account_payment_order_notification
|
||||
|
||||
Reference in New Issue
Block a user