mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[IMP] account_banking_sepa_direct_debit: Rise exception if the mandate type is not correct
Closes #600
This commit is contained in:
committed by
Carlos Roca
parent
9da9c10c48
commit
b0dcef7688
@@ -20,7 +20,7 @@ Account Banking SEPA Direct Debit
|
||||
:target: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_banking_sepa_direct_debit
|
||||
:alt: Translate me on Weblate
|
||||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
|
||||
:target: https://runbot.odoo-community.org/runbot/97/12.0
|
||||
:target: https://runbot.odoo-community.org/runbot/173/12.0
|
||||
:alt: Try me on Runbot
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
||||
@@ -125,7 +125,7 @@ msgid "As you changed the bank account attached to this mandate, the 'Sequence T
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:252
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:257
|
||||
#, python-format
|
||||
msgid "Automatically switched from <b>First</b> to <b>Recurring</b> when the debit order <a href=# data-oe-model=account.payment.order data-oe-id=%d>%s</a> has been marked as uploaded."
|
||||
msgstr ""
|
||||
@@ -205,6 +205,12 @@ msgstr ""
|
||||
msgid "Generic Mandate"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:85
|
||||
#, python-format
|
||||
msgid "Invalid mandate type in '%s'. Valid ones are 'Recurrent' or 'One-Off'"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model:ir.model.fields,field_description:account_banking_sepa_direct_debit.field_account_banking_mandate__format
|
||||
msgid "Mandate Format"
|
||||
|
||||
@@ -141,7 +141,7 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:252
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:257
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Automatically switched from <b>First</b> to <b>Recurring</b> when the debit "
|
||||
@@ -231,6 +231,12 @@ msgstr "Erstes"
|
||||
msgid "Generic Mandate"
|
||||
msgstr "Sepa Mandat"
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:85
|
||||
#, python-format
|
||||
msgid "Invalid mandate type in '%s'. Valid ones are 'Recurrent' or 'One-Off'"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model:ir.model.fields,field_description:account_banking_sepa_direct_debit.field_account_banking_mandate__format
|
||||
msgid "Mandate Format"
|
||||
|
||||
@@ -156,7 +156,7 @@ msgstr ""
|
||||
"'Tipo de secuencia' se ha vuelto a 'Inicial'."
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:252
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:257
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Automatically switched from <b>First</b> to <b>Recurring</b> when the debit "
|
||||
@@ -265,6 +265,12 @@ msgstr "Inicial"
|
||||
msgid "Generic Mandate"
|
||||
msgstr "Mandato SEPA"
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:85
|
||||
#, python-format
|
||||
msgid "Invalid mandate type in '%s'. Valid ones are 'Recurrent' or 'One-Off'"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model:ir.model.fields,field_description:account_banking_sepa_direct_debit.field_account_banking_mandate__format
|
||||
#, fuzzy
|
||||
|
||||
@@ -156,7 +156,7 @@ msgstr ""
|
||||
"'Type de séquence' a été remis à 'First'."
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:252
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:257
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Automatically switched from <b>First</b> to <b>Recurring</b> when the debit "
|
||||
@@ -261,6 +261,12 @@ msgstr "First"
|
||||
msgid "Generic Mandate"
|
||||
msgstr "Mandat SEPA"
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:85
|
||||
#, python-format
|
||||
msgid "Invalid mandate type in '%s'. Valid ones are 'Recurrent' or 'One-Off'"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model:ir.model.fields,field_description:account_banking_sepa_direct_debit.field_account_banking_mandate__format
|
||||
#, fuzzy
|
||||
|
||||
@@ -142,7 +142,7 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:252
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:257
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Automatically switched from <b>First</b> to <b>Recurring</b> when the debit "
|
||||
@@ -230,6 +230,12 @@ msgstr ""
|
||||
msgid "Generic Mandate"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:85
|
||||
#, python-format
|
||||
msgid "Invalid mandate type in '%s'. Valid ones are 'Recurrent' or 'One-Off'"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model:ir.model.fields,field_description:account_banking_sepa_direct_debit.field_account_banking_mandate__format
|
||||
msgid "Mandate Format"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_banking_sepa_direct_debit
|
||||
# * account_banking_sepa_direct_debit
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
@@ -103,34 +103,48 @@ msgstr "Un generico mandato bancario"
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model_terms:ir.ui.view,arch_db:account_banking_sepa_direct_debit.sepa_direct_debit_mandate_document
|
||||
msgid "ALL GAPS ARE MANDATORY. ONCE THIS MANDATE HAS BEEN SIGNED MUST BE SENT TO CREDITOR FOR STORAGE."
|
||||
msgid ""
|
||||
"ALL GAPS ARE MANDATORY. ONCE THIS MANDATE HAS BEEN SIGNED MUST BE SENT TO "
|
||||
"CREDITOR FOR STORAGE."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model_terms:ir.ui.view,arch_db:account_banking_sepa_direct_debit.sepa_direct_debit_mandate_document
|
||||
msgid "ALL GAPS ARE MANDATORY. ONCE THIS MANDATE HAS BEEN SIGNED MUST BE SENT TO CREDITOR FOR STORAGE.\n"
|
||||
" NEVERTHELESS, THE BANK OF DEBTOR REQUIRES DEBTOR’S AUTHORIZATION BEFORE DEBITING B2B DIRECT DEBITS IN THE ACCOUNT.\n"
|
||||
" THE DEBTOR WILL BE ABLE TO MANAGE THE MENTIONED AUTHORIZATION THROUGH THE MEANS PROVIDED BY HIS BANK."
|
||||
msgid ""
|
||||
"ALL GAPS ARE MANDATORY. ONCE THIS MANDATE HAS BEEN SIGNED MUST BE SENT TO "
|
||||
"CREDITOR FOR STORAGE.\n"
|
||||
" NEVERTHELESS, THE BANK OF DEBTOR REQUIRES DEBTOR’S "
|
||||
"AUTHORIZATION BEFORE DEBITING B2B DIRECT DEBITS IN THE ACCOUNT.\n"
|
||||
" THE DEBTOR WILL BE ABLE TO MANAGE THE MENTIONED "
|
||||
"AUTHORIZATION THROUGH THE MEANS PROVIDED BY HIS BANK."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model_terms:ir.ui.view,arch_db:account_banking_sepa_direct_debit.sepa_direct_debit_mandate_document
|
||||
msgid "As part of your rights, you are entitled to a refund from\n"
|
||||
" your bank under the terms and conditions of your agreement\n"
|
||||
msgid ""
|
||||
"As part of your rights, you are entitled to a refund from\n"
|
||||
" your bank under the terms and conditions of your "
|
||||
"agreement\n"
|
||||
" with your bank.\n"
|
||||
" A refund must be claimed within 8 weeks starting from the date on which your account was debited."
|
||||
" A refund must be claimed within 8 weeks starting "
|
||||
"from the date on which your account was debited."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_banking_mandate.py:76
|
||||
#, python-format
|
||||
msgid "As you changed the bank account attached to this mandate, the 'Sequence Type' has been set back to 'First'."
|
||||
msgid ""
|
||||
"As you changed the bank account attached to this mandate, the 'Sequence "
|
||||
"Type' has been set back to 'First'."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:252
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:257
|
||||
#, python-format
|
||||
msgid "Automatically switched from <b>First</b> to <b>Recurring</b> when the debit order <a href=# data-oe-model=account.payment.order data-oe-id=%d>%s</a> has been marked as uploaded."
|
||||
msgid ""
|
||||
"Automatically switched from <b>First</b> to <b>Recurring</b> when the debit "
|
||||
"order <a href=# data-oe-model=account.payment.order data-oe-id=%d>%s</a> has "
|
||||
"been marked as uploaded."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
@@ -170,7 +184,10 @@ msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model:ir.model.fields,help:account_banking_sepa_direct_debit.field_account_payment_mode__sepa_creditor_identifier
|
||||
msgid "Enter the Creditor Identifier that has been attributed to your company to make SEPA Direct Debits. If not defined, SEPA Creditor Identifier from company will be used.\n"
|
||||
msgid ""
|
||||
"Enter the Creditor Identifier that has been attributed to your company to "
|
||||
"make SEPA Direct Debits. If not defined, SEPA Creditor Identifier from "
|
||||
"company will be used.\n"
|
||||
"This identifier is composed of :\n"
|
||||
"- your country ISO code (2 letters)\n"
|
||||
"- a 2-digits checkum\n"
|
||||
@@ -181,7 +198,9 @@ msgstr ""
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model:ir.model.fields,help:account_banking_sepa_direct_debit.field_res_company__sepa_creditor_identifier
|
||||
#: model:ir.model.fields,help:account_banking_sepa_direct_debit.field_res_config_settings__sepa_creditor_identifier
|
||||
msgid "Enter the Creditor Identifier that has been attributed to your company to make SEPA Direct Debits. This identifier is composed of :\n"
|
||||
msgid ""
|
||||
"Enter the Creditor Identifier that has been attributed to your company to "
|
||||
"make SEPA Direct Debits. This identifier is composed of :\n"
|
||||
"- your country ISO code (2 letters)\n"
|
||||
"- a 2-digits checkum\n"
|
||||
"- a 3-letters business code\n"
|
||||
@@ -208,6 +227,12 @@ msgstr ""
|
||||
msgid "Generic Mandate"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:85
|
||||
#, python-format
|
||||
msgid "Invalid mandate type in '%s'. Valid ones are 'Recurrent' or 'One-Off'"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model:ir.model.fields,field_description:account_banking_sepa_direct_debit.field_account_banking_mandate__format
|
||||
msgid "Mandate Format"
|
||||
@@ -222,7 +247,9 @@ msgstr ""
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_line.py:28
|
||||
#, python-format
|
||||
msgid "Missing SEPA Direct Debit mandate on the line with partner {partner_name} (reference {reference})."
|
||||
msgid ""
|
||||
"Missing SEPA Direct Debit mandate on the line with partner {partner_name} "
|
||||
"(reference {reference})."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
@@ -260,7 +287,10 @@ msgstr ""
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:41
|
||||
#, python-format
|
||||
msgid "Payment Type Code '%s' is not supported. The only Payment Type Code supported for SEPA Direct Debit are 'pain.008.001.02', 'pain.008.001.03' and 'pain.008.001.04'."
|
||||
msgid ""
|
||||
"Payment Type Code '%s' is not supported. The only Payment Type Code "
|
||||
"supported for SEPA Direct Debit are 'pain.008.001.02', 'pain.008.001.03' and "
|
||||
"'pain.008.001.04'."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
@@ -332,13 +362,18 @@ msgstr ""
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_line.py:33
|
||||
#, python-format
|
||||
msgid "The SEPA Direct Debit mandate with reference {mandate_ref} for partner {partner_name} has expired."
|
||||
msgid ""
|
||||
"The SEPA Direct Debit mandate with reference {mandate_ref} for partner "
|
||||
"{partner_name} has expired."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_line.py:41
|
||||
#, python-format
|
||||
msgid "The SEPA Direct Debit mandate with reference {mandate_ref} for partner {partner_name} has type set to 'One-Off' but has a last debit date set to {last_debit_date}. Therefore, it cannot be used."
|
||||
msgid ""
|
||||
"The SEPA Direct Debit mandate with reference {mandate_ref} for partner "
|
||||
"{partner_name} has type set to 'One-Off' but has a last debit date set to "
|
||||
"{last_debit_date}. Therefore, it cannot be used."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
@@ -349,15 +384,20 @@ msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model:ir.model.fields,help:account_banking_sepa_direct_debit.field_account_banking_mandate__recurrent_sequence_type
|
||||
msgid "This field is only used for Recurrent mandates, not for One-Off mandates."
|
||||
msgid ""
|
||||
"This field is only used for Recurrent mandates, not for One-Off mandates."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model_terms:ir.ui.view,arch_db:account_banking_sepa_direct_debit.sepa_direct_debit_mandate_document
|
||||
msgid "This mandate is only intended for business-to-business transactions.\n"
|
||||
" You are not entitled to a refund from your bank after your account has\n"
|
||||
" been debited, but you are entitled to request your bank\n"
|
||||
" not to debit your account up until the day on which the payment is due."
|
||||
msgid ""
|
||||
"This mandate is only intended for business-to-business transactions.\n"
|
||||
" You are not entitled to a refund from your bank "
|
||||
"after your account has\n"
|
||||
" been debited, but you are entitled to request your "
|
||||
"bank\n"
|
||||
" not to debit your account up until the day on which "
|
||||
"the payment is due."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
@@ -438,6 +478,9 @@ msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model_terms:ir.ui.view,arch_db:account_banking_sepa_direct_debit.sepa_direct_debit_mandate_document
|
||||
msgid "to send instructions to your bank to debit your account and (B) your bank to\n"
|
||||
" debit your account in accordance with the instructions from"
|
||||
msgid ""
|
||||
"to send instructions to your bank to debit your account and (B) your bank "
|
||||
"to\n"
|
||||
" debit your account in accordance with the "
|
||||
"instructions from"
|
||||
msgstr ""
|
||||
|
||||
@@ -142,7 +142,7 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:252
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:257
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Automatically switched from <b>First</b> to <b>Recurring</b> when the debit "
|
||||
@@ -230,6 +230,12 @@ msgstr ""
|
||||
msgid "Generic Mandate"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:85
|
||||
#, python-format
|
||||
msgid "Invalid mandate type in '%s'. Valid ones are 'Recurrent' or 'One-Off'"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model:ir.model.fields,field_description:account_banking_sepa_direct_debit.field_account_banking_mandate__format
|
||||
msgid "Mandate Format"
|
||||
|
||||
@@ -156,7 +156,7 @@ msgstr ""
|
||||
"naar 'Eerste'."
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:252
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:257
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Automatically switched from <b>First</b> to <b>Recurring</b> when the debit "
|
||||
@@ -258,6 +258,12 @@ msgstr "Eerste"
|
||||
msgid "Generic Mandate"
|
||||
msgstr "Sepa mandaat"
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:85
|
||||
#, python-format
|
||||
msgid "Invalid mandate type in '%s'. Valid ones are 'Recurrent' or 'One-Off'"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model:ir.model.fields,field_description:account_banking_sepa_direct_debit.field_account_banking_mandate__format
|
||||
#, fuzzy
|
||||
|
||||
@@ -142,7 +142,7 @@ msgid ""
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:252
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:257
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Automatically switched from <b>First</b> to <b>Recurring</b> when the debit "
|
||||
@@ -231,6 +231,12 @@ msgstr ""
|
||||
msgid "Generic Mandate"
|
||||
msgstr "Uma ordem bancária genérica"
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:85
|
||||
#, python-format
|
||||
msgid "Invalid mandate type in '%s'. Valid ones are 'Recurrent' or 'One-Off'"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model:ir.model.fields,field_description:account_banking_sepa_direct_debit.field_account_banking_mandate__format
|
||||
msgid "Mandate Format"
|
||||
|
||||
@@ -157,7 +157,7 @@ msgstr ""
|
||||
"vrnil v 'Prvi'."
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:252
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:257
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Automatically switched from <b>First</b> to <b>Recurring</b> when the debit "
|
||||
@@ -261,6 +261,12 @@ msgstr "Prva"
|
||||
msgid "Generic Mandate"
|
||||
msgstr "SEPA mandat"
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: code:addons/account_banking_sepa_direct_debit/models/account_payment_order.py:85
|
||||
#, python-format
|
||||
msgid "Invalid mandate type in '%s'. Valid ones are 'Recurrent' or 'One-Off'"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_sepa_direct_debit
|
||||
#: model:ir.model.fields,field_description:account_banking_sepa_direct_debit.field_account_banking_mandate__format
|
||||
#, fuzzy
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Copyright 2018 Tecnativa - Pedro M. Baeza
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import _, api, fields, models
|
||||
from odoo import _, api, exceptions, fields, models
|
||||
from odoo.exceptions import UserError
|
||||
from lxml import etree
|
||||
|
||||
@@ -81,6 +81,11 @@ class AccountPaymentOrder(models.Model):
|
||||
seq_type_label = line.mandate_id.recurrent_sequence_type
|
||||
assert seq_type_label is not False
|
||||
seq_type = seq_type_map[seq_type_label]
|
||||
else:
|
||||
raise exceptions.UserError(_(
|
||||
"Invalid mandate type in '%s'. Valid ones are 'Recurrent' "
|
||||
"or 'One-Off'"
|
||||
) % line.mandate_id.unique_mandate_reference)
|
||||
# The field line.date is the requested payment date
|
||||
# taking into account the 'date_preferred' setting
|
||||
# cf account_banking_payment_export/models/account_payment.py
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" />
|
||||
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
|
||||
<title>Account Banking SEPA Direct Debit</title>
|
||||
<style type="text/css">
|
||||
|
||||
@@ -367,7 +367,7 @@ ul.auto-toc {
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/bank-payment/tree/12.0/account_banking_sepa_direct_debit"><img alt="OCA/bank-payment" src="https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_banking_sepa_direct_debit"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/97/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/bank-payment/tree/12.0/account_banking_sepa_direct_debit"><img alt="OCA/bank-payment" src="https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_banking_sepa_direct_debit"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/173/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||
<p>Create SEPA files for Direct Debit</p>
|
||||
<p>Module to export direct debit payment orders in SEPA XML file format.</p>
|
||||
<p>SEPA PAIN (PAyment INitiation) is the new european standard for
|
||||
|
||||
Reference in New Issue
Block a user