account_payment_order_notification 14.0.1.5.0

This commit is contained in:
OCA-git-bot
2023-02-28 11:10:36 +00:00
committed by Yadier A. De Quesada
parent 6d6a0eeb14
commit f9d2a5cfa8
2 changed files with 90 additions and 43 deletions

View File

@@ -2,7 +2,7 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Account Payment Order Notification",
"version": "14.0.1.4.0",
"version": "14.0.1.5.0",
"category": "Banking addons",
"website": "https://github.com/OCA/bank-payment",
"author": "Tecnativa, Odoo Community Association (OCA)",

View File

@@ -50,7 +50,7 @@ msgid ""
" % else:\n"
" <td>${payment_line.communication}</td>\n"
" % endif\n"
" <td>${payment_line.date}</td>\n"
" <td>${format_date(payment_line.date)}</td>\n"
" <td>${format_amount(payment_line.amount_currency, "
"payment_line.currency_id)}</td>\n"
" </tr>\n"
@@ -61,47 +61,6 @@ msgid ""
"</div>\n"
" "
msgstr ""
"\n"
"<div style=\"font-family: 'Lucida Grande', Ubuntu, Arial, Verdana, sans-"
"serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; \">\n"
" <p>Hola ${object.partner_id.name or ''},</p>\n"
" % if object.order_id.payment_type == 'inbound':\n"
" <p>Se ha procesado y enviado al banco una orden de débito que "
"incluye al menos una de sus facturas.</p>\n"
" % else:\n"
" <p>Se ha procesado y enviado al banco una orden de pago que incluye "
"al menos una de sus facturas.</p>\n"
" % endif\n"
" <p>Incluye las siguientes transacciones:</p>\n"
" <table>\n"
" <thead>\n"
" <tr style=\"height: 15px; background-color: #d8d8d8;font-size: "
"13px;font-weight:bold;\" align=\"center\" valign=\"middle\">\n"
" <td>Número</td>\n"
" <td>Fecha</td>\n"
" <td>Importe</td>\n"
" </tr>\n"
" </thead>\n"
" <tbody>\n"
" % for payment_line in object.payment_line_ids:\n"
" <tr>\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"
" % endfor\n"
" </tbody>\n"
" </table>\n"
" <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
@@ -388,3 +347,91 @@ msgstr ""
#: model:ir.model,name:account_payment_order_notification.model_wizard_account_payment_order_notification_line
msgid "Wizard Account Payment Order Notification Line"
msgstr ""
#~ msgid ""
#~ "\n"
#~ "<div style=\"font-family: 'Lucida Grande', Ubuntu, Arial, Verdana, sans-"
#~ "serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "
#~ "\">\n"
#~ " <p>Hello ${object.partner_id.name or ''},</p>\n"
#~ " % if object.order_id.payment_type == 'inbound':\n"
#~ " <p>A debit order including at least one of your invoices has been "
#~ "processed and sent to the bank.</p>\n"
#~ " % else:\n"
#~ " <p>A payment order including at least one of your invoices has "
#~ "been processed and sent to the bank.</p>\n"
#~ " % endif\n"
#~ " <p>It includes the following transactions:</p>\n"
#~ " <table>\n"
#~ " <thead>\n"
#~ " <tr style=\"height: 15px; background-color: #d8d8d8;font-"
#~ "size: 13px;font-weight:bold;\" align=\"center\" valign=\"middle\">\n"
#~ " <td>Number</td>\n"
#~ " <td>Date</td>\n"
#~ " <td>Amount</td>\n"
#~ " </tr>\n"
#~ " </thead>\n"
#~ " <tbody>\n"
#~ " % for payment_line in object.payment_line_ids:\n"
#~ " <tr>\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"
#~ " % endfor\n"
#~ " </tbody>\n"
#~ " </table>\n"
#~ " <p>Do not hesitate to contact us if you have any questions.</p>\n"
#~ "</div>\n"
#~ " "
#~ msgstr ""
#~ "\n"
#~ "<div style=\"font-family: 'Lucida Grande', Ubuntu, Arial, Verdana, sans-"
#~ "serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "
#~ "\">\n"
#~ " <p>Hola ${object.partner_id.name or ''},</p>\n"
#~ " % if object.order_id.payment_type == 'inbound':\n"
#~ " <p>Se ha procesado y enviado al banco una orden de débito que "
#~ "incluye al menos una de sus facturas.</p>\n"
#~ " % else:\n"
#~ " <p>Se ha procesado y enviado al banco una orden de pago que "
#~ "incluye al menos una de sus facturas.</p>\n"
#~ " % endif\n"
#~ " <p>Incluye las siguientes transacciones:</p>\n"
#~ " <table>\n"
#~ " <thead>\n"
#~ " <tr style=\"height: 15px; background-color: #d8d8d8;font-"
#~ "size: 13px;font-weight:bold;\" align=\"center\" valign=\"middle\">\n"
#~ " <td>Número</td>\n"
#~ " <td>Fecha</td>\n"
#~ " <td>Importe</td>\n"
#~ " </tr>\n"
#~ " </thead>\n"
#~ " <tbody>\n"
#~ " % for payment_line in object.payment_line_ids:\n"
#~ " <tr>\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"
#~ " % endfor\n"
#~ " </tbody>\n"
#~ " </table>\n"
#~ " <p>No dude en ponerse en contacto con nosotros si tiene alguna "
#~ "pregunta.</p>\n"
#~ "</div>\n"
#~ " "