diff --git a/account_payment_order_notification/data/mail_template_data.xml b/account_payment_order_notification/data/mail_template_data.xml index 148e6a376..d63a99f48 100644 --- a/account_payment_order_notification/data/mail_template_data.xml +++ b/account_payment_order_notification/data/mail_template_data.xml @@ -14,7 +14,7 @@ +

Hello ${object.partner_id.name or ''},

% if object.order_id.payment_type == 'inbound':

A debit order including at least one of your invoices has been processed and sent to the bank.

@@ -22,28 +22,32 @@

A payment order including at least one of your invoices has been processed and sent to the bank.

% endif

It includes the following transactions:

- - - - - - - - +
NumberDateAmount
- % for payment_line in object.payment_line_ids: - - % if payment_line.move_line_id.move_id.move_type in ("in_invoice", "in_refund") and payment_line.move_line_id.move_id.ref: - - % else: - - % endif - - + + + + - % endfor
${payment_line.move_line_id.move_id.ref}${payment_line.communication}${format_date(payment_line.date)}${format_amount(payment_line.amount_currency, payment_line.currency_id)}
NumberDateAmount
+ % for payment_line in object.payment_line_ids: + + + + + + + + +
+ % if payment_line.move_line_id.move_id.move_type in ("in_invoice", "in_refund") and payment_line.move_line_id.move_id.ref: + ${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)}
+ % endfor

Do not hesitate to contact us if you have any questions.

]]>
diff --git a/account_payment_order_notification/i18n/es.po b/account_payment_order_notification/i18n/es.po index e2d7aa86f..da8e80317 100644 --- a/account_payment_order_notification/i18n/es.po +++ b/account_payment_order_notification/i18n/es.po @@ -348,90 +348,94 @@ msgstr "" msgid "Wizard Account Payment Order Notification Line" msgstr "" -#~ msgid "" -#~ "\n" -#~ "
\n" -#~ "

Hello ${object.partner_id.name or ''},

\n" -#~ " % if object.order_id.payment_type == 'inbound':\n" -#~ "

A debit order including at least one of your invoices has been " -#~ "processed and sent to the bank.

\n" -#~ " % else:\n" -#~ "

A payment order including at least one of your invoices has " -#~ "been processed and sent to the bank.

\n" -#~ " % endif\n" -#~ "

It includes the following transactions:

\n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " % for payment_line in object.payment_line_ids:\n" -#~ " \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" -#~ " \n" -#~ " % else:\n" -#~ " \n" -#~ " % endif\n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " % endfor\n" -#~ " \n" -#~ "
NumberDateAmount
${payment_line.move_line_id.move_id.ref}${payment_line.communication}${payment_line.date}${format_amount(payment_line.amount_currency, " -#~ "payment_line.currency_id)}
\n" -#~ "

Do not hesitate to contact us if you have any questions.

\n" -#~ "
\n" -#~ " " -#~ msgstr "" -#~ "\n" -#~ "
\n" -#~ "

Hola ${object.partner_id.name or ''},

\n" -#~ " % if object.order_id.payment_type == 'inbound':\n" -#~ "

Se ha procesado y enviado al banco una orden de débito que " -#~ "incluye al menos una de sus facturas.

\n" -#~ " % else:\n" -#~ "

Se ha procesado y enviado al banco una orden de pago que " -#~ "incluye al menos una de sus facturas.

\n" -#~ " % endif\n" -#~ "

Incluye las siguientes transacciones:

\n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " % for payment_line in object.payment_line_ids:\n" -#~ " \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" -#~ " \n" -#~ " % else:\n" -#~ " \n" -#~ " % endif\n" -#~ " \n" -#~ " \n" -#~ " \n" -#~ " % endfor\n" -#~ " \n" -#~ "
NúmeroFechaImporte
${payment_line.move_line_id.move_id.ref}${payment_line.communication}${payment_line.date}${format_amount(payment_line.amount_currency, " -#~ "payment_line.currency_id)}
\n" -#~ "

No dude en ponerse en contacto con nosotros si tiene alguna " -#~ "pregunta.

\n" -#~ "
\n" -#~ " " +msgid "" +"\n" +"
\n" +"

Hello ${object.partner_id.name or ''},

\n" +" % if object.order_id.payment_type == 'inbound':\n" +"

A debit order including at least one of your invoices has been " +"processed and sent to the bank.

\n" +" % else:\n" +"

A payment order including at least one of your invoices has been " +"processed and sent to the bank.

\n" +" % endif\n" +"

It includes the following transactions:

\n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"
NumberDateAmount
\n" +" % for payment_line in object.payment_line_ids: \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"
\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" +" ${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" +" % endfor\n" +"

Do not hesitate to contact us if you have any questions.

\n" +"
\n" +" " +msgstr "" +"\n" +"
\n" +"

Hola ${object.partner_id.name or ''},

\n" +" % if object.order_id.payment_type == 'inbound':\n" +"

Se ha procesado y enviado al banco una orden de débito que " +"incluye al menos una de sus facturas.

\n" +" % else:\n" +"

Se ha procesado y enviado al banco una orden de pago que incluye " +"al menos una de sus facturas.

\n" +" % endif\n" +"

Incluye las siguientes transacciones:

\n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"
NúmeroFechaImporte
\n" +" % for payment_line in object.payment_line_ids: \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"
\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" +" ${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" +" % endfor\n" +"

No dude en ponerse en contacto con nosotros si tiene alguna pregunta." +"

\n" +"
\n" +" " diff --git a/account_payment_order_notification/i18n/fr.po b/account_payment_order_notification/i18n/fr.po index 4f44eb5ed..3267e5ce1 100644 --- a/account_payment_order_notification/i18n/fr.po +++ b/account_payment_order_notification/i18n/fr.po @@ -20,44 +20,54 @@ msgstr "" #: model:mail.template,body_html:account_payment_order_notification.email_account_payment_order_notification msgid "" "\n" -"
\n" +"
\n" "

Hello ${object.partner_id.name or ''},

\n" " % if object.order_id.payment_type == 'inbound':\n" -"

A debit order including at least one of your invoices has been processed and sent to the bank.

\n" +"

A debit order including at least one of your invoices has been " +"processed and sent to the bank.

\n" " % else:\n" -"

A payment order including at least one of your invoices has been processed and sent to the bank.

\n" +"

A payment order including at least one of your invoices has been " +"processed and sent to the bank.

\n" " % endif\n" "

It includes the following transactions:

\n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" +"
NumberDateAmount
\n" " \n" -" % for payment_line in object.payment_line_ids:\n" -" \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" -" \n" -" % else:\n" -" \n" -" % endif\n" -" \n" -" \n" +" \n" +" \n" +" \n" +" \n" " \n" -" % endfor\n" " \n" "
${payment_line.move_line_id.move_id.ref}${payment_line.communication}${format_date(payment_line.date)}${format_amount(payment_line.amount_currency, payment_line.currency_id)}
NumberDateAmount
\n" +" % for payment_line in object.payment_line_ids: \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"
\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" +" ${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" +" % endfor\n" "

Do not hesitate to contact us if you have any questions.

\n" "
\n" " " msgstr "" "\n" -"
\n" -"

Bonjour ${object.partner_id.name ou ''},

\n" +"
\n" +"

Bonjour ${object.partner_id.name or ''},

\n" " % if object.order_id.payment_type == 'inbound':\n" "

Un ordre de débit comprenant au moins une de vos factures a été " "traité et envoyé à la banque.

\n" @@ -65,36 +75,40 @@ msgstr "" "

Un ordre de paiement comprenant au moins une de vos factures a " "été traité et envoyé à la banque.

\n" " % endif\n" -"

Il comprend les transactions suivantes :

\n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" -" \n" +"

Il comprend les transactions suivantes :

\n" +"
NombreDateQuantité
\n" " \n" -" % for payment_line in object.payment_line_ids : \n" -" \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" -" \n" -" % else:\n" -" \n" -" % endif\n" -" \n" -" \n" +" \n" +" \n" +" \n" +" \n" " \n" -" % endfor\n" " \n" "
${payment_line.move_line_id.move_id.ref}${payment_line.communication}${format_date(payment_line.date)}${format_amount(payment_line.amount_currency, " -"payment_line.currency_id)}
NombreDateQuantité
\n" -"

N’hésitez pas à nous contacter si vous avez des questions.

\n" +" % for payment_line in object.payment_line_ids: \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +"
\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" +" ${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" +" % endfor\n" +"

N’hésitez pas à nous contacter si vous avez des questions." +"

\n" "
\n" -" " +" " #. module: account_payment_order_notification #: model:mail.template,subject:account_payment_order_notification.email_account_payment_order_notification