diff --git a/addons/account/data/payment_receipt_data.xml b/addons/account/data/payment_receipt_data.xml index d3c02413732..e05a711ece0 100644 --- a/addons/account/data/payment_receipt_data.xml +++ b/addons/account/data/payment_receipt_data.xml @@ -4,24 +4,32 @@ - Payment Receipt - Send by Email + Payment Receipt: Send by email + ${object.company_id.name} Payment Receipt (Ref ${object.name or 'n/a' }) ${object.partner_id.id} - - + +
+

+ Dear ${object.partner_id.name}

+ Thank you for your payment. + Here is your payment receipt ${(object.name or '').replace('/','-')} amounting + to ${format_amount(object.amount, object.currency_id)} from ${object.company_id.name}. +

+ Do not hesitate to contact us if you have any question. +

+ Best regards,
+ % if user and user.signature: + ${user.signature | safe} + % endif +

+
+
${(object.name or '').replace('/','-')} ${object.partner_id.lang} - -

Dear ${object.partner_id.name},

-

Thank you for your payment.
Here is your payment receipt ${(object.name or '').replace('/','-')} amounting to ${format_amount(object.amount, object.currency_id)} from ${object.company_id.name}.

-

If you have any questions, please do not hesitate to contact us.

-

Best regards, -% if user and user.signature: -${user.signature | safe} -% endif -

-
+ +
diff --git a/addons/l10n_be_invoice_bba/data/mail_template_data.xml b/addons/l10n_be_invoice_bba/data/mail_template_data.xml index b7110f157e7..e12f7745b91 100644 --- a/addons/l10n_be_invoice_bba/data/mail_template_data.xml +++ b/addons/l10n_be_invoice_bba/data/mail_template_data.xml @@ -2,47 +2,37 @@ - Dear ${object.partner_id.name} -% set access_action = object.with_context(force_website=True).get_access_action() -% set is_online = access_action and access_action['type'] == 'ir.actions.act_url' -% set access_url = is_online and object.get_mail_url() or '/report/pdf/account.report_invoice/' + str(object.id) - -% if object.partner_id.parent_id: - (${object.partner_id.parent_id.name}) -% endif -,

-

Here is your -% if object.number: -invoice ${object.number} -% else: -pro-forma invoice -% endif -% if object.origin: -(with reference: ${object.origin} ) -% endif -amounting in ${format_amount(object.amount_total, object.currency_id)} -from ${object.company_id.name}. -

- -% if is_online: -

-
- View Invoice -
-% endif -

- -% if object.reference_type=='bba' and object.reference: -

Please use the following communication for your payment : ${object.reference}

-% endif - -

Please remit payment at your earliest convenience.

-

Thank you,

-% if object.user_id and object.user_id.signature: - ${object.user_id.signature | safe} -% endif -]]>
+ +
+

+ Dear ${object.partner_id.name} + % if object.partner_id.parent_id: + (${object.partner_id.parent_id.name}) + % endif +

+ Here is, in attachment, your + % if object.number: + invoice ${object.number} + % else: + invoice + %endif + % if object.origin: + (with reference: ${object.origin} ) + % endif + amounting in ${format_amount(object.amount_total, object.currency_id)} + from ${object.company_id.name}. + % if object.state=='paid': + This invoice is already paid. + % else: + Please remit payment at your earliest convenience. + % if object.reference_type == 'bba' and object.reference: + Please use the following communication for your payment: ${object.reference}. + % endif +

+ Do not hesitate to contact us if you have any question. +

+
+