diff --git a/account_credit_control/data.xml b/account_credit_control/data.xml
index 01cf85999..793b5bb23 100644
--- a/account_credit_control/data.xml
+++ b/account_credit_control/data.xml
@@ -13,35 +13,73 @@
%endif
+ <%
+ def carriage_returns(text):
+ return text.replace('\n', '
')
+ %>
+
+
+
Dear ${object.partner_id.name or ''},
-
${object.current_policy_level.custom_text}
+
${object.current_policy_level.custom_text | carriage_returns }
-
+
+
+
+
Summary
- | Date due |
- Amount due |
- Amount balance |
- Invoice number |
+ Date due |
+ Amount due |
+ Amount balance |
+ Invoice number |
%for line in object.credit_control_line_ids:
- | ${line.date_due} |
- ${line.amount_due} |
- ${line.balance_due} |
+ ${line.date_due} |
+ ${line.amount_due} |
+ ${line.balance_due} |
%if line.invoice_id:
${line.invoice_id.number} |
%else:
@@ -105,10 +143,8 @@
email
Dear Sir or Madam,
-Our records indicate that we have not received the payment of the
-above mentioned invoice (copy attached for your convenience). If it
-has already been sent, please disregard this notice. If not, please
-proceed with payment within 10 days.
+Our records indicate that we have not received the payment of the above mentioned invoice (copy attached for your convenience).
+If it has already been sent, please disregard this notice. If not, please proceed with payment within 10 days.
Thank you in advance for your anticipated cooperation in this matter.
@@ -127,10 +163,8 @@ Best regards,
email
Dear Sir or Madam,
-Our records indicate that we have not yet received the payment of the
-above mentioned invoice (copy attached for your convenience) despite
-our first reminder. If it has already been sent, please disregard
-this notice. If not, please proceed with payment within 5 days.
+Our records indicate that we have not yet received the payment of the above mentioned invoice (copy attached for your convenience) despite our first reminder.
+If it has already been sent, please disregard this notice. If not, please proceed with payment within 5 days.
Thank you in advance for your anticipated cooperation in this matter.
@@ -149,12 +183,9 @@ Best regards,
letter
Dear Sir or Madam,
-Our records indicate that we still have not received the payment of
-the above mentioned invoice (copy attached) despite our two reminders.
-If payment have already been sent, please disregard this notice. If
-not, please proceed with payment. If your payment has not been
-received in the next 5 days, your file will be transfered to our debt
-collection agency.
+Our records indicate that we still have not received the payment of the above mentioned invoice (copy attached) despite our two reminders.
+If payment have already been sent, please disregard this notice. If not, please proceed with payment.
+If your payment has not been received in the next 5 days, your file will be transfered to our debt collection agency.
Should you need us to arrange a payment plan for you, please advise.
A customer account statement is enclosed for you convenience.