diff --git a/mandate.fodt b/mandate.fodt index 11098c0745..ad2b90f683 100644 --- a/mandate.fodt +++ b/mandate.fodt @@ -1,24 +1,24 @@ - - 2014-09-18T12:22:31.532910267PT33M52S12LibreOffice/6.4.6.2$Linux_X86_64 LibreOffice_project/40$Build-22020-10-24T23:30:49.832322442 + + 2014-09-18T12:22:31.532910267PT46M12S15LibreOffice/7.1.5.2$Linux_X86_64 LibreOffice_project/10$Build-22021-09-29T00:21:00.012076975 - 23918 + 55457 0 - 26301 - 24026 + 25269 + 23021 true false view2 - 4355 - 33754 + 8929 + 73293 0 - 23918 - 26300 - 47943 + 55457 + 25268 + 78475 0 1 false @@ -30,99 +30,104 @@ false - true - true - true - 0 - true - true - - false - false - false - false - false - false false - false + false + true + true + true + true + true + false + 0 + false + false + false + false + false + true + false + false + false + false + true true true - false false + false false - false - false false false false - false - true - true - false - false - true - 2054283 - false - - false - true - false - false - false - true + false + true false - false - false + false true - 5953736 - + false + false + false + true + 0 + 1 + true + false + + high-resolution + true + + + false + false true + false + true + true + false + true + + true + 6149708 + + true + false + true + 0 + + false + false + false + false + false + true + false + false + false + false + true + false + + false false false - true - false - true - true - false - true - false - false - false - 0 - false - true - high-resolution - false - false - false - true - false - false - true - true - true - - true - false - false - true - false - false - false - - false - false - false - 1 - true - false false - 0 + false + false false false - - - false + false + false + false + false + 2054283 + false + false + false + false + false + true + false + true + true @@ -134,12 +139,13 @@ + - + - + @@ -148,11 +154,11 @@ - + - + @@ -161,21 +167,21 @@ - + - + - - + + - + @@ -183,7 +189,7 @@ - + @@ -208,14 +214,14 @@ - + - + @@ -246,7 +252,7 @@ - + @@ -254,10 +260,10 @@ - + - + @@ -498,7 +504,7 @@ - + @@ -506,16 +512,9 @@ - + - - - - - - - - + @@ -565,7 +564,7 @@ <line> </for> </if> - <company.rec_name if company else ''> + <company.rec_name if company else ''> <if test="company and company.footer"> @@ -639,19 +638,19 @@ <replace text:p="mandate.set_lang(mandate.party.lang)"> - + - SEPA <mandate.scheme_string>Direct Debit MANDATE + <gettext('account_payment_sepa.msg_mandate_title', scheme=mandate.scheme_string)> - + <mandate.identification> - + - By signing this mandate form, you authorize <mandate.company.rec_name>to send instructions to your bank to debit your account and your bank to debit your account in accordance with the instructions from <mandate.company.rec_name>.As part of your rights, you are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited. + <gettext('account_payment_sepa.msg_mandate_authorisation_statement', creditor=mandate.company.rec_name)>As part of your rights, you are entitled to a refund from your bank under the terms and conditions of your agreement with your bank. A refund must be claimed within 8 weeks starting from the date on which your account was debited. @@ -660,7 +659,7 @@ - + Your name @@ -669,7 +668,7 @@ - + @@ -678,7 +677,7 @@ - + Your address @@ -687,7 +686,7 @@ - + @@ -696,7 +695,7 @@ - + @@ -707,7 +706,7 @@ <mandate.party.addresses[0].city if mandate.party.addresses else ''> - + @@ -718,7 +717,7 @@ City - + @@ -727,7 +726,7 @@ - + @@ -736,7 +735,7 @@ - + Your account number @@ -745,7 +744,7 @@ - + @@ -754,7 +753,7 @@ - + @@ -763,7 +762,7 @@ - + @@ -772,7 +771,7 @@ - + Creditor's name @@ -781,7 +780,7 @@ - + @@ -790,7 +789,7 @@ - + @@ -799,7 +798,7 @@ - + @@ -808,7 +807,7 @@ - + @@ -817,7 +816,7 @@ - + @@ -826,18 +825,19 @@ - + + - <mandate.company.party.addresses[0].postal_code if mandate.company.party.addresses else ''> + <mandate.company.party.addresses[0].postal_code if mandate.company.party.addresses else ''> - <mandate.company.party.addresses[0].city if mandate.company.party.addresses else ''> + <mandate.company.party.addresses[0].city if mandate.company.party.addresses else ''> - + @@ -848,7 +848,7 @@ City - + @@ -857,7 +857,7 @@ - + @@ -873,12 +873,12 @@ <choose test=""> <when test="mandate.type == 'recurrent'"> - + Recurrent payment </when> <otherwise test=""> - + Recurrent payment </otherwise> @@ -887,19 +887,19 @@ <choose test=""> <when test="mandate.type == 'one-off'"> - + One-off payment </when> <otherwise test="mandate.type == 'recurrent'"> - + One-off payment </otherwise> </choose> - + @@ -910,7 +910,7 @@ - + Signed at @@ -921,7 +921,7 @@ - + @@ -932,7 +932,7 @@ Date - + Signature @@ -944,7 +944,8 @@ + Note: Your rights regarding the above mandate are explained in a statement that you can obtain from your bank. </for> - + \ No newline at end of file diff --git a/message.xml b/message.xml index 1432efc2e5..2ed6376920 100644 --- a/message.xml +++ b/message.xml @@ -18,5 +18,11 @@ this repository contains the full copyright notices and license terms. --> The party "%(party)s" is missing a "%(type)s" identifier. + + SEPA $(scheme)s Direct Debit MANDATE + + + By signing this mandate form, you authorise (A) %(creditor)s to send instructions to your bank to debit your account and (B) your bank to debit your account in accordance with the instructions from %(creditor)s. + diff --git a/payment.py b/payment.py index 82efc94579..27c92835aa 100644 --- a/payment.py +++ b/payment.py @@ -737,6 +737,12 @@ class Mandate(Workflow, ModelSQL, ModelView): class MandateReport(CompanyReport): __name__ = 'account.payment.sepa.mandate' + @classmethod + def get_context(cls, records, header, data): + context = super().get_context(records, header, data) + context['gettext'] = gettext + return context + class Message(Workflow, ModelSQL, ModelView): 'SEPA Message'