diff --git a/account_payment_order_notification/__manifest__.py b/account_payment_order_notification/__manifest__.py
index ce0632a48..abc062139 100644
--- a/account_payment_order_notification/__manifest__.py
+++ b/account_payment_order_notification/__manifest__.py
@@ -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.5.0",
+ "version": "16.0.1.0.0",
"category": "Banking addons",
"website": "https://github.com/OCA/bank-payment",
"author": "Tecnativa, Odoo Community Association (OCA)",
diff --git a/account_payment_order_notification/data/mail_template_data.xml b/account_payment_order_notification/data/mail_template_data.xml
index 148e6a376..d43cf8c8d 100644
--- a/account_payment_order_notification/data/mail_template_data.xml
+++ b/account_payment_order_notification/data/mail_template_data.xml
@@ -6,48 +6,78 @@
name="model_id"
ref="account_payment_order_notification.model_account_payment_order_notification"
/>
- Hello ${object.partner_id.name or ''}, A debit order including at least one of your invoices has been processed and sent to the bank. A payment order including at least one of your invoices has been processed and sent to the bank. It includes the following transactions: Do not hesitate to contact us if you have any questions. Hello A debit order including at least one of your invoices has been processed and
+ sent to the bank. A payment order including at least one of your invoices has been processed
+ and sent to the bank. It includes the following transactions: Do not hesitate to contact us if you have any questions.
-
-
-
-
-
-
- % for payment_line in object.payment_line_ids:
- Number
- Date
- Amount
-
- % if payment_line.move_line_id.move_id.move_type in ("in_invoice", "in_refund") and payment_line.move_line_id.move_id.ref:
-
- % endfor
-
- ${payment_line.move_line_id.move_id.ref}
- % else:
- ${payment_line.communication}
- % endif
- ${format_date(payment_line.date)}
- ${format_amount(payment_line.amount_currency, payment_line.currency_id)}
-
+
+
+
+
+
+
+ Number
+ Date
+ Amount
+
+
+
+
+
+
+
+
+
Hello ${object.partner_id.name or ''},
\n" +" % if object.order_id.payment_type == 'inbound':\n" +"Una orden de débito que incluye al menos una de sus facturas ha sido" +"procesada y enviada al banco.
\n" +" % else:\n" +"Una orden de pago que incluye al menos una de sus facturas ha sido " +"procesada y enviada al banco..
\n" +" % endif\n" +"Incluye las siguientes transacciones:
\n" +"| Número | \n" +"Fecha | \n" +"Cantidad | \n" +"|
| ${payment_line.move_line_id.move_id.ref} | \n" +" % else:\n" +"${payment_line.communication} | \n" +" % endif\n" +"${format_date(payment_line.date)} | \n" +"${format_amount(payment_line.amount_currency, " +"payment_line.currency_id)} | \n" +"
No dude en ponerse en contacto con nosotros si tiene alguna pregunta.
\n" +"