diff --git a/account_banking_sepa_credit_transfer/README.rst b/account_banking_sepa_credit_transfer/README.rst new file mode 100644 index 00000000000..b8fd7199848 --- /dev/null +++ b/account_banking_sepa_credit_transfer/README.rst @@ -0,0 +1,142 @@ +==================================== +Account Banking SEPA Credit Transfer +==================================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github + :target: https://github.com/OCA/bank-payment/tree/16.0/account_banking_sepa_credit_transfer + :alt: OCA/bank-payment +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_sepa_credit_transfer + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/webui/builds.html?repo=OCA/bank-payment&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Module to export payment orders in SEPA XML file format. + +SEPA PAIN (PAyment INitiation) is the new european standard for +Customer-to-Bank payment instructions. This module implements SEPA Credit +Transfer (SCT), more specifically PAIN versions 001.001.02, 001.001.03, +001.001.04 and 001.001.05. It is part of the ISO 20022 standard, available on +https://www.iso20022.org. + +The Implementation Guidelines for SEPA Credit Transfer published by the +European Payments Council (https://www.europeanpaymentscouncil.eu) use +PAIN version 001.001.03, so it's probably the version of PAIN that you should +try first. + +It also includes pain.001.003.03 which is used in Germany instead of 001.001.03. +You can read more about this here (only in german language): +http://www.ebics.de/startseite/ + +**Table of contents** + +.. contents:: + :local: + +Installation +============ + +This module depends on : +* account_banking_pain_base + +This module is part of the OCA/bank-payment suite. + +Configuration +============= + +* Create a Payment Mode dedicated to SEPA Credit Transfer. + +* Select the Payment Method *SEPA Credit Transfer to suppliers* (which is + automatically created upon module installation). + +* Check that this payment method uses the proper version of PAIN. + +Usage +===== + +In the menu *Invoicing/Accounting > Vendors > Payment Orders*, create a new +payment order and select the Payment Mode dedicated to SEPA Credit +Transfer that you created during the configuration step. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Akretion +* Tecnativa + +Contributors +~~~~~~~~~~~~ + +* Alexis de Lattre +* Stéphane Bidoul +* Stefan Rijnhart +* Julien Laloux +* Alexandre Fayolle +* Raphaël Valyi +* Erwin van der Ploeg +* Sandy Carter +* `Tecnativa `__: + + * Antonio Espinosa + * Pedro M. Baeza + * Carlos Roca +* `DynApps NV `_: + + * Axel Priem +* `Sygel Technology `_: + + * Valentin Vinagre + * Manuel Regidor + +* `Trobz `_: + + * Dung Tran + +Other credits +~~~~~~~~~~~~~ + +The migration of this module from 15.0 to 16.0 was financially supported by Camptocamp + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/bank-payment `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_banking_sepa_credit_transfer/__init__.py b/account_banking_sepa_credit_transfer/__init__.py new file mode 100644 index 00000000000..0650744f6bc --- /dev/null +++ b/account_banking_sepa_credit_transfer/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/account_banking_sepa_credit_transfer/__manifest__.py b/account_banking_sepa_credit_transfer/__manifest__.py new file mode 100644 index 00000000000..9db14fd6817 --- /dev/null +++ b/account_banking_sepa_credit_transfer/__manifest__.py @@ -0,0 +1,19 @@ +# Copyright 2010-2020 Akretion (www.akretion.com) +# Copyright 2016 Tecnativa - Antonio Espinosa +# Copyright 2016-2022 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html) + +{ + "name": "Account Banking SEPA Credit Transfer", + "summary": "Create SEPA XML files for Credit Transfers", + "version": "16.0.1.0.0", + "license": "AGPL-3", + "author": "Akretion, Tecnativa, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/bank-payment", + "category": "Banking addons", + "conflicts": ["account_sepa"], + "depends": ["account_banking_pain_base"], + "data": ["data/account_payment_method.xml"], + "demo": ["demo/sepa_credit_transfer_demo.xml"], + "installable": True, +} diff --git a/account_banking_sepa_credit_transfer/data/account_payment_method.xml b/account_banking_sepa_credit_transfer/data/account_payment_method.xml new file mode 100644 index 00000000000..01b08910ac5 --- /dev/null +++ b/account_banking_sepa_credit_transfer/data/account_payment_method.xml @@ -0,0 +1,10 @@ + + + + SEPA Credit Transfer to suppliers + sepa_credit_transfer + outbound + + pain.001.001.03 + + diff --git a/account_banking_sepa_credit_transfer/data/pain.001.001.02.xsd b/account_banking_sepa_credit_transfer/data/pain.001.001.02.xsd new file mode 100644 index 00000000000..51cedb95fd7 --- /dev/null +++ b/account_banking_sepa_credit_transfer/data/pain.001.001.02.xsd @@ -0,0 +1,919 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/account_banking_sepa_credit_transfer/data/pain.001.001.03.xsd b/account_banking_sepa_credit_transfer/data/pain.001.001.03.xsd new file mode 100644 index 00000000000..f414be34de3 --- /dev/null +++ b/account_banking_sepa_credit_transfer/data/pain.001.001.03.xsd @@ -0,0 +1,1457 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/account_banking_sepa_credit_transfer/data/pain.001.001.04.xsd b/account_banking_sepa_credit_transfer/data/pain.001.001.04.xsd new file mode 100644 index 00000000000..1628a52a6bd --- /dev/null +++ b/account_banking_sepa_credit_transfer/data/pain.001.001.04.xsd @@ -0,0 +1,1539 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/account_banking_sepa_credit_transfer/data/pain.001.001.05.xsd b/account_banking_sepa_credit_transfer/data/pain.001.001.05.xsd new file mode 100644 index 00000000000..9caf796e92d --- /dev/null +++ b/account_banking_sepa_credit_transfer/data/pain.001.001.05.xsd @@ -0,0 +1,1504 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/account_banking_sepa_credit_transfer/data/pain.001.003.03.xsd b/account_banking_sepa_credit_transfer/data/pain.001.003.03.xsd new file mode 100644 index 00000000000..a5b9de32e49 --- /dev/null +++ b/account_banking_sepa_credit_transfer/data/pain.001.003.03.xsd @@ -0,0 +1,509 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + If used, it is recommended to be used at ‘Payment Information’ level and not at ‘Credit Transfer Transaction Information’ level. + + + + + + It is recommended that this element be specified at ‘Payment Information’ level. + + + + + This data element may be present either at ‘Payment Information’ or at ‘Credit Transfer Transaction Information’ level. + + + + + + + + + + + + + + + + If a Creditor Reference contains a check digit, the receiving bank is not required to validate this. +If the receiving bank validates the check digit and if this validation fails, the bank may continue its processing and send the transaction to the next party in the chain. +RF Creditor Reference may be used (ISO 11649). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Either ‘BIC or BEI’ or one +occurrence of ‘Other’ is allowed. + + + + + Either ‘Date and Place of Birth’ or one occurrence of ‘Other’ is allowed. + + + + + + + + + + ‘Name’ is limited to 70 characters +in length. + + + + + + + + + + ‘Name’ is limited to 70 characters +in length. + + + + + + + + + + + + + + + + + + Only ‘TRF’ is allowed. + + + + + If present and contains ‘true’, batch booking is requested. If present and contains ‘false’, booking per transaction is requested. If element is not present, pre-agreed customer-to-bank conditions apply. + + + + + + + If used, it is recommended to be used only at ‘Payment Information’ level and not at Credit Transfer Transaction Information’ level. +When Instruction Priority is to be used, ‘Payment Type Information’ must be present at ‘Payment Information’ level. + + + + + + + + + This data element may be present either at ‘Payment Information’ or at ‘Credit Transfer Transaction Information’ level. + + + + + It is recommended that this element be specified at ‘Payment Information’ level. + + + + + + + + + + + + + + + If present, pre-agreed customer-to-bank conditions apply. + + + + + + Depending on the agreement between the Originator and the Originator Bank, ‘Category Purpose’ may be forwarded to the Beneficiary Bank. + + + + + + + + + + Depending on the agreement between the Originator and the Originator Bank, ‘Category Purpose’ may be forwarded to the Beneficiary Bank. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Only codes from the ISO 20022 ExternalPurposeCode list are allowed. + + + + + + + + + + + + + + + + + + + + + + When present, the receiving bank is not obliged to validate the the reference information. + + + + + + + + + + diff --git a/account_banking_sepa_credit_transfer/demo/sepa_credit_transfer_demo.xml b/account_banking_sepa_credit_transfer/demo/sepa_credit_transfer_demo.xml new file mode 100644 index 00000000000..18264cf1a01 --- /dev/null +++ b/account_banking_sepa_credit_transfer/demo/sepa_credit_transfer_demo.xml @@ -0,0 +1,22 @@ + + + + + SEPA Credit Transfer to suppliers + + variable + + + + + + + + + + + + + + + diff --git a/account_banking_sepa_credit_transfer/i18n/account_banking_sepa_credit_transfer.pot b/account_banking_sepa_credit_transfer/i18n/account_banking_sepa_credit_transfer.pot new file mode 100644 index 00000000000..a0e5029bb9b --- /dev/null +++ b/account_banking_sepa_credit_transfer/i18n/account_banking_sepa_credit_transfer.pot @@ -0,0 +1,90 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_sepa_credit_transfer +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "" +"Bank account is missing on the bank payment line of partner '{partner}' " +"(reference '{reference}')." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_line__local_instrument__inst +msgid "Instant Transfer" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_line__local_instrument +msgid "Local Instrument" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_method__pain_version +msgid "PAIN Version" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "PAIN version '%s' is not supported." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_line +msgid "Payment Lines" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_method +msgid "Payment Methods" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_order +msgid "Payment Order" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:account.payment.method,name:account_banking_sepa_credit_transfer.sepa_credit_transfer +#: model:account.payment.mode,name:account_banking_sepa_credit_transfer.payment_mode_outbound_sepa_ct1 +msgid "SEPA Credit Transfer to suppliers" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_02 +msgid "pain.001.001.02" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_03 +msgid "pain.001.001.03 (recommended for credit transfer)" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_04 +msgid "pain.001.001.04" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_05 +msgid "pain.001.001.05" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_003_03 +msgid "pain.001.003.03" +msgstr "" diff --git a/account_banking_sepa_credit_transfer/i18n/ca.po b/account_banking_sepa_credit_transfer/i18n/ca.po new file mode 100644 index 00000000000..9f8b00b1749 --- /dev/null +++ b/account_banking_sepa_credit_transfer/i18n/ca.po @@ -0,0 +1,97 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_sepa_credit_transfer +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2022-05-30 18:05+0000\n" +"Last-Translator: jabelchi \n" +"Language-Team: none\n" +"Language: ca\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "" +"Bank account is missing on the bank payment line of partner " +"'{partner}' (reference '{reference}')." +msgstr "" +"Falta el compte bancari a la línia del partner '{partner}' (referència " +"'{reference}')." + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_line__local_instrument__inst +msgid "Instant Transfer" +msgstr "Transferència immediata" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_line__local_instrument +msgid "Local Instrument" +msgstr "Instrument local" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_method__pain_version +msgid "PAIN Version" +msgstr "Versió PAIN" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "PAIN version '%s' is not supported." +msgstr "La versió PAIN '%s' no està suportada." + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_line +msgid "Payment Lines" +msgstr "Línies de pagament" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_method +msgid "Payment Methods" +msgstr "Mètodes de pagament" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_order +msgid "Payment Order" +msgstr "Ordre de pagament" + +#. module: account_banking_sepa_credit_transfer +#: model:account.payment.method,name:account_banking_sepa_credit_transfer.sepa_credit_transfer +#: model:account.payment.mode,name:account_banking_sepa_credit_transfer.payment_mode_outbound_sepa_ct1 +msgid "SEPA Credit Transfer to suppliers" +msgstr "Transferència de crèdit SEPA a proveïdors" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_02 +msgid "pain.001.001.02" +msgstr "pain.001.001.02" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_03 +msgid "pain.001.001.03 (recommended for credit transfer)" +msgstr "pain.001.001.03 (recomanat per a transferències de crèdit)" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_04 +msgid "pain.001.001.04" +msgstr "pain.001.001.04" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_05 +msgid "pain.001.001.05" +msgstr "pain.001.001.05" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_003_03 +msgid "pain.001.003.03" +msgstr "" + +#~ msgid "pain.001.003.03 (credit transfer in Germany)" +#~ msgstr "pain.001.003.03 (transferències de crèdit a Alemanya)" diff --git a/account_banking_sepa_credit_transfer/i18n/de.po b/account_banking_sepa_credit_transfer/i18n/de.po new file mode 100644 index 00000000000..c084c2cb2ae --- /dev/null +++ b/account_banking_sepa_credit_transfer/i18n/de.po @@ -0,0 +1,103 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_sepa_credit_transfer +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-12-11 09:51+0000\n" +"PO-Revision-Date: 2018-11-23 20:11+0000\n" +"Last-Translator: chrispi-ch \n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.2.2\n" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "" +"Bank account is missing on the bank payment line of partner " +"'{partner}' (reference '{reference}')." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_line__local_instrument__inst +msgid "Instant Transfer" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_line__local_instrument +msgid "Local Instrument" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_method__pain_version +msgid "PAIN Version" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "PAIN version '%s' is not supported." +msgstr "PAIN Version '%s' wird nicht unterstützt." + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_line +msgid "Payment Lines" +msgstr "Zahlungszeilen" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_method +msgid "Payment Methods" +msgstr "Zahlungsmethoden" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_order +msgid "Payment Order" +msgstr "Zahlungsauftrag" + +#. module: account_banking_sepa_credit_transfer +#: model:account.payment.method,name:account_banking_sepa_credit_transfer.sepa_credit_transfer +#: model:account.payment.mode,name:account_banking_sepa_credit_transfer.payment_mode_outbound_sepa_ct1 +msgid "SEPA Credit Transfer to suppliers" +msgstr "SEPA-Überweisung an Lieferanten" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_02 +msgid "pain.001.001.02" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_03 +msgid "pain.001.001.03 (recommended for credit transfer)" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_04 +msgid "pain.001.001.04" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_05 +msgid "pain.001.001.05" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_003_03 +msgid "pain.001.003.03" +msgstr "" + +#, python-format +#~ msgid "" +#~ "Bank account is missing on the bank payment line of partner " +#~ "'%s' (reference '%s')." +#~ msgstr "" +#~ "Das Bankkonto fehlt auf der Zahlungszeile des Partners '%s' (Referenz " +#~ "'%s')." diff --git a/account_banking_sepa_credit_transfer/i18n/es.po b/account_banking_sepa_credit_transfer/i18n/es.po new file mode 100644 index 00000000000..0297c7918cd --- /dev/null +++ b/account_banking_sepa_credit_transfer/i18n/es.po @@ -0,0 +1,102 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_sepa_credit_transfer +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-23 03:38+0000\n" +"PO-Revision-Date: 2017-11-23 03:38+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "" +"Bank account is missing on the bank payment line of partner " +"'{partner}' (reference '{reference}')." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_line__local_instrument__inst +msgid "Instant Transfer" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_line__local_instrument +msgid "Local Instrument" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_method__pain_version +msgid "PAIN Version" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "PAIN version '%s' is not supported." +msgstr "La versión PAIN '%s' no está soportada." + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_line +msgid "Payment Lines" +msgstr "Líneas de pago" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_method +msgid "Payment Methods" +msgstr "Métodos de pago" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_order +msgid "Payment Order" +msgstr "Orden de pago" + +#. module: account_banking_sepa_credit_transfer +#: model:account.payment.method,name:account_banking_sepa_credit_transfer.sepa_credit_transfer +#: model:account.payment.mode,name:account_banking_sepa_credit_transfer.payment_mode_outbound_sepa_ct1 +msgid "SEPA Credit Transfer to suppliers" +msgstr "Transferencia de crédito SEPA para proveedores" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_02 +msgid "pain.001.001.02" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_03 +msgid "pain.001.001.03 (recommended for credit transfer)" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_04 +msgid "pain.001.001.04" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_05 +msgid "pain.001.001.05" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_003_03 +msgid "pain.001.003.03" +msgstr "" + +#, python-format +#~ msgid "" +#~ "Bank account is missing on the bank payment line of partner " +#~ "'%s' (reference '%s')." +#~ msgstr "" +#~ "Falta la cuenta bancaria en la línea de pago de la empresa " +#~ "'%s' (referencia '%s')." diff --git a/account_banking_sepa_credit_transfer/i18n/es_AR.po b/account_banking_sepa_credit_transfer/i18n/es_AR.po new file mode 100644 index 00000000000..bd5d075822a --- /dev/null +++ b/account_banking_sepa_credit_transfer/i18n/es_AR.po @@ -0,0 +1,103 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_sepa_credit_transfer +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-08-08 05:59+0000\n" +"Last-Translator: Ignacio Buioli \n" +"Language-Team: none\n" +"Language: es_AR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "" +"Bank account is missing on the bank payment line of partner " +"'{partner}' (reference '{reference}')." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_line__local_instrument__inst +msgid "Instant Transfer" +msgstr "Transferencia Instantánea" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_line__local_instrument +msgid "Local Instrument" +msgstr "Instrumento Local" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_method__pain_version +msgid "PAIN Version" +msgstr "Versión PAIN" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "PAIN version '%s' is not supported." +msgstr "Versión PAIN '%s' no está soportada." + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_line +msgid "Payment Lines" +msgstr "Líneas de Pago" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_method +msgid "Payment Methods" +msgstr "Métodos de Pago" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_order +msgid "Payment Order" +msgstr "Orden de Pago" + +#. module: account_banking_sepa_credit_transfer +#: model:account.payment.method,name:account_banking_sepa_credit_transfer.sepa_credit_transfer +#: model:account.payment.mode,name:account_banking_sepa_credit_transfer.payment_mode_outbound_sepa_ct1 +msgid "SEPA Credit Transfer to suppliers" +msgstr "Crédito SEPA para Transferir a proveedores" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_02 +msgid "pain.001.001.02" +msgstr "pain.001.001.02" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_03 +msgid "pain.001.001.03 (recommended for credit transfer)" +msgstr "pain.001.001.03 (recomendada para transferencia de crédito)" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_04 +msgid "pain.001.001.04" +msgstr "pain.001.001.04" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_05 +msgid "pain.001.001.05" +msgstr "pain.001.001.05" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_003_03 +msgid "pain.001.003.03" +msgstr "" + +#, python-format +#~ msgid "" +#~ "Bank account is missing on the bank payment line of partner " +#~ "'%s' (reference '%s')." +#~ msgstr "" +#~ "Falta la cuenta bancaria en la línea de pago bancaria del socio " +#~ "'%s' (referencia '%s')." + +#~ msgid "pain.001.003.03 (credit transfer in Germany)" +#~ msgstr "pain.001.003.03 (transferencia de crédito en Alemania)" diff --git a/account_banking_sepa_credit_transfer/i18n/fr.po b/account_banking_sepa_credit_transfer/i18n/fr.po new file mode 100644 index 00000000000..284a914b75d --- /dev/null +++ b/account_banking_sepa_credit_transfer/i18n/fr.po @@ -0,0 +1,108 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_sepa_credit_transfer +# +# Translators: +# Nicolas JEUDY , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-10 02:10+0000\n" +"PO-Revision-Date: 2021-04-10 14:55+0000\n" +"Last-Translator: Yves Le Doeuff \n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "" +"Bank account is missing on the bank payment line of partner " +"'{partner}' (reference '{reference}')." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_line__local_instrument__inst +msgid "Instant Transfer" +msgstr "Transfert immédiat" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_line__local_instrument +msgid "Local Instrument" +msgstr "Instrument local" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_method__pain_version +msgid "PAIN Version" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "PAIN version '%s' is not supported." +msgstr "PAIN version '%s' n'est pas supporté." + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_line +msgid "Payment Lines" +msgstr "Lignes de règlement" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_method +msgid "Payment Methods" +msgstr "Methodes de règlement" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_order +msgid "Payment Order" +msgstr "Ordre de paiement" + +#. module: account_banking_sepa_credit_transfer +#: model:account.payment.method,name:account_banking_sepa_credit_transfer.sepa_credit_transfer +#: model:account.payment.mode,name:account_banking_sepa_credit_transfer.payment_mode_outbound_sepa_ct1 +msgid "SEPA Credit Transfer to suppliers" +msgstr "Virement SEPA aux fournisseurs" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_02 +msgid "pain.001.001.02" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_03 +msgid "pain.001.001.03 (recommended for credit transfer)" +msgstr "pain.001.001.03 (recommandé pour les virements)" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_04 +#, fuzzy +msgid "pain.001.001.04" +msgstr "pain.001.001.04" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_05 +#, fuzzy +msgid "pain.001.001.05" +msgstr "pain.001.001.05" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_003_03 +msgid "pain.001.003.03" +msgstr "" + +#, python-format +#~ msgid "" +#~ "Bank account is missing on the bank payment line of partner " +#~ "'%s' (reference '%s')." +#~ msgstr "" +#~ "Le compte bancaire est manquant sur la ligne de paiement bancaire du " +#~ "partenaire '%s' (référence '%s')." + +#~ msgid "pain.001.003.03 (credit transfer in Germany)" +#~ msgstr "pain.001.003.03 (Virement en Allemagne)" diff --git a/account_banking_sepa_credit_transfer/i18n/fr_FR.po b/account_banking_sepa_credit_transfer/i18n/fr_FR.po new file mode 100644 index 00000000000..99cfec2488e --- /dev/null +++ b/account_banking_sepa_credit_transfer/i18n/fr_FR.po @@ -0,0 +1,103 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_sepa_credit_transfer +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-04-10 16:46+0000\n" +"Last-Translator: Yves Le Doeuff \n" +"Language-Team: none\n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "" +"Bank account is missing on the bank payment line of partner " +"'{partner}' (reference '{reference}')." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_line__local_instrument__inst +msgid "Instant Transfer" +msgstr "Transfert immédiat" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_line__local_instrument +msgid "Local Instrument" +msgstr "Instrument local" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_method__pain_version +msgid "PAIN Version" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "PAIN version '%s' is not supported." +msgstr "PAIN version '%s' n'est pas supporté." + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_line +msgid "Payment Lines" +msgstr "Lignes de règlement" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_method +msgid "Payment Methods" +msgstr "Methodes de règlement" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_order +msgid "Payment Order" +msgstr "Ordre de paiement" + +#. module: account_banking_sepa_credit_transfer +#: model:account.payment.method,name:account_banking_sepa_credit_transfer.sepa_credit_transfer +#: model:account.payment.mode,name:account_banking_sepa_credit_transfer.payment_mode_outbound_sepa_ct1 +msgid "SEPA Credit Transfer to suppliers" +msgstr "Virement SEPA aux fournisseurs" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_02 +msgid "pain.001.001.02" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_03 +msgid "pain.001.001.03 (recommended for credit transfer)" +msgstr "pain.001.001.03 (recommandé pour les virements)" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_04 +msgid "pain.001.001.04" +msgstr "pain.001.001.04" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_05 +msgid "pain.001.001.05" +msgstr "pain.001.001.05" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_003_03 +msgid "pain.001.003.03" +msgstr "" + +#, python-format +#~ msgid "" +#~ "Bank account is missing on the bank payment line of partner " +#~ "'%s' (reference '%s')." +#~ msgstr "" +#~ "Le compte bancaire est manquant sur la ligne de paiement bancaire du " +#~ "partenaire '%s' (référence '%s')." + +#~ msgid "pain.001.003.03 (credit transfer in Germany)" +#~ msgstr "pain.001.003.03 (Virement en Allemagne)" diff --git a/account_banking_sepa_credit_transfer/i18n/hr.po b/account_banking_sepa_credit_transfer/i18n/hr.po new file mode 100644 index 00000000000..6c8f2a4b73c --- /dev/null +++ b/account_banking_sepa_credit_transfer/i18n/hr.po @@ -0,0 +1,95 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_sepa_credit_transfer +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: bank-payment (10.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-03 00:10+0000\n" +"PO-Revision-Date: 2016-10-19 23:45+0000\n" +"Last-Translator: <>\n" +"Language-Team: Croatian (http://www.transifex.com/oca/OCA-bank-payment-10-0/" +"language/hr/)\n" +"Language: hr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "" +"Bank account is missing on the bank payment line of partner " +"'{partner}' (reference '{reference}')." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_line__local_instrument__inst +msgid "Instant Transfer" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_line__local_instrument +msgid "Local Instrument" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_method__pain_version +msgid "PAIN Version" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "PAIN version '%s' is not supported." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_line +msgid "Payment Lines" +msgstr "Stavke plaćanja" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_method +msgid "Payment Methods" +msgstr "Metode plaćanja" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_order +msgid "Payment Order" +msgstr "Nalog za plaćanje" + +#. module: account_banking_sepa_credit_transfer +#: model:account.payment.method,name:account_banking_sepa_credit_transfer.sepa_credit_transfer +#: model:account.payment.mode,name:account_banking_sepa_credit_transfer.payment_mode_outbound_sepa_ct1 +msgid "SEPA Credit Transfer to suppliers" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_02 +msgid "pain.001.001.02" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_03 +msgid "pain.001.001.03 (recommended for credit transfer)" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_04 +msgid "pain.001.001.04" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_05 +msgid "pain.001.001.05" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_003_03 +msgid "pain.001.003.03" +msgstr "" diff --git a/account_banking_sepa_credit_transfer/i18n/nb_NO.po b/account_banking_sepa_credit_transfer/i18n/nb_NO.po new file mode 100644 index 00000000000..1312624e020 --- /dev/null +++ b/account_banking_sepa_credit_transfer/i18n/nb_NO.po @@ -0,0 +1,96 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_sepa_credit_transfer +# +# Translators: +# Imre Kristoffer Eilertsen , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-30 07:37+0000\n" +"PO-Revision-Date: 2016-07-30 07:37+0000\n" +"Last-Translator: Imre Kristoffer Eilertsen , 2016\n" +"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/" +"teams/23907/nb_NO/)\n" +"Language: nb_NO\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "" +"Bank account is missing on the bank payment line of partner " +"'{partner}' (reference '{reference}')." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_line__local_instrument__inst +msgid "Instant Transfer" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_line__local_instrument +msgid "Local Instrument" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_method__pain_version +msgid "PAIN Version" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "PAIN version '%s' is not supported." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_line +#, fuzzy +msgid "Payment Lines" +msgstr "Betalingsordre" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_method +msgid "Payment Methods" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_order +msgid "Payment Order" +msgstr "Betalingsordre" + +#. module: account_banking_sepa_credit_transfer +#: model:account.payment.method,name:account_banking_sepa_credit_transfer.sepa_credit_transfer +#: model:account.payment.mode,name:account_banking_sepa_credit_transfer.payment_mode_outbound_sepa_ct1 +msgid "SEPA Credit Transfer to suppliers" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_02 +msgid "pain.001.001.02" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_03 +msgid "pain.001.001.03 (recommended for credit transfer)" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_04 +msgid "pain.001.001.04" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_05 +msgid "pain.001.001.05" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_003_03 +msgid "pain.001.003.03" +msgstr "" diff --git a/account_banking_sepa_credit_transfer/i18n/nl.po b/account_banking_sepa_credit_transfer/i18n/nl.po new file mode 100644 index 00000000000..854ba64e634 --- /dev/null +++ b/account_banking_sepa_credit_transfer/i18n/nl.po @@ -0,0 +1,118 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_sepa_credit_transfer +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-23 03:38+0000\n" +"PO-Revision-Date: 2020-07-21 13:19+0000\n" +"Last-Translator: Yung-Wa \n" +"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.10\n" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "" +"Bank account is missing on the bank payment line of partner " +"'{partner}' (reference '{reference}')." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_line__local_instrument__inst +msgid "Instant Transfer" +msgstr "Directe Overdracht" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_line__local_instrument +msgid "Local Instrument" +msgstr "Lokaal Instrument" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_method__pain_version +msgid "PAIN Version" +msgstr "PAIN Versie" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "PAIN version '%s' is not supported." +msgstr "PAIN versie '%s' is niet ondersteund." + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_line +msgid "Payment Lines" +msgstr "Betaalregels" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_method +msgid "Payment Methods" +msgstr "Betaalwijzes" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_order +msgid "Payment Order" +msgstr "Betalingsopdracht" + +#. module: account_banking_sepa_credit_transfer +#: model:account.payment.method,name:account_banking_sepa_credit_transfer.sepa_credit_transfer +#: model:account.payment.mode,name:account_banking_sepa_credit_transfer.payment_mode_outbound_sepa_ct1 +msgid "SEPA Credit Transfer to suppliers" +msgstr "SEPA overboeking naar leveranciers" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_02 +msgid "pain.001.001.02" +msgstr "pain.001.001.02" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_03 +msgid "pain.001.001.03 (recommended for credit transfer)" +msgstr "pain.001.001.03 (aanbevolen voor overboeking)" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_04 +msgid "pain.001.001.04" +msgstr "pain.001.001.04" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_05 +msgid "pain.001.001.05" +msgstr "pain.001.001.05" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_003_03 +msgid "pain.001.003.03" +msgstr "" + +#, python-format +#~ msgid "" +#~ "Bank account is missing on the bank payment line of partner " +#~ "'%s' (reference '%s')." +#~ msgstr "" +#~ "Bankrekening ontbreekt op de betaalregel van relatie '%s' (reference " +#~ "'%s')." + +#~ msgid "pain.001.003.03 (credit transfer in Germany)" +#~ msgstr "pain.001.003.03 (overboeking in Duitsland)" + +#~ msgid "pain.008.001.02 (recommended for direct debit)" +#~ msgstr "pain.008.001.02 (aanbevolen voor automatische incasso)" + +#~ msgid "pain.008.001.03" +#~ msgstr "pain.008.001.03" + +#~ msgid "pain.008.001.04" +#~ msgstr "pain.008.001.04" + +#~ msgid "pain.008.003.02 (direct debit in Germany)" +#~ msgstr "pain.008.003.02 (automatische incasso in Duitsland)" diff --git a/account_banking_sepa_credit_transfer/i18n/pt_BR.po b/account_banking_sepa_credit_transfer/i18n/pt_BR.po new file mode 100644 index 00000000000..ea07190f54c --- /dev/null +++ b/account_banking_sepa_credit_transfer/i18n/pt_BR.po @@ -0,0 +1,103 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_sepa_credit_transfer +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-23 03:38+0000\n" +"PO-Revision-Date: 2017-11-23 03:38+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "" +"Bank account is missing on the bank payment line of partner " +"'{partner}' (reference '{reference}')." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_line__local_instrument__inst +msgid "Instant Transfer" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_line__local_instrument +msgid "Local Instrument" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_method__pain_version +msgid "PAIN Version" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "PAIN version '%s' is not supported." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_line +msgid "Payment Lines" +msgstr "Linhas do pagamento" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_method +msgid "Payment Methods" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_order +msgid "Payment Order" +msgstr "Ordem de Pagamento" + +#. module: account_banking_sepa_credit_transfer +#: model:account.payment.method,name:account_banking_sepa_credit_transfer.sepa_credit_transfer +#: model:account.payment.mode,name:account_banking_sepa_credit_transfer.payment_mode_outbound_sepa_ct1 +msgid "SEPA Credit Transfer to suppliers" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_02 +msgid "pain.001.001.02" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_03 +msgid "pain.001.001.03 (recommended for credit transfer)" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_04 +msgid "pain.001.001.04" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_05 +msgid "pain.001.001.05" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_003_03 +msgid "pain.001.003.03" +msgstr "" + +#, python-format +#~ msgid "" +#~ "Bank account is missing on the bank payment line of partner " +#~ "'%s' (reference '%s')." +#~ msgstr "" +#~ "Conta bancária está faltando na linha de pagamento do parceiro '%s' (ref. " +#~ "'%s')." diff --git a/account_banking_sepa_credit_transfer/i18n/sl.po b/account_banking_sepa_credit_transfer/i18n/sl.po new file mode 100644 index 00000000000..e01c0b41e3f --- /dev/null +++ b/account_banking_sepa_credit_transfer/i18n/sl.po @@ -0,0 +1,103 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_sepa_credit_transfer +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-11-23 03:38+0000\n" +"PO-Revision-Date: 2017-11-23 03:38+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "" +"Bank account is missing on the bank payment line of partner " +"'{partner}' (reference '{reference}')." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_line__local_instrument__inst +msgid "Instant Transfer" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_line__local_instrument +msgid "Local Instrument" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_method__pain_version +msgid "PAIN Version" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "PAIN version '%s' is not supported." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_line +msgid "Payment Lines" +msgstr "Plačilne postavke" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_method +msgid "Payment Methods" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_order +msgid "Payment Order" +msgstr "Plačilni nalog" + +#. module: account_banking_sepa_credit_transfer +#: model:account.payment.method,name:account_banking_sepa_credit_transfer.sepa_credit_transfer +#: model:account.payment.mode,name:account_banking_sepa_credit_transfer.payment_mode_outbound_sepa_ct1 +msgid "SEPA Credit Transfer to suppliers" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_02 +msgid "pain.001.001.02" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_03 +msgid "pain.001.001.03 (recommended for credit transfer)" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_04 +msgid "pain.001.001.04" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_05 +msgid "pain.001.001.05" +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_003_03 +msgid "pain.001.003.03" +msgstr "" + +#, python-format +#~ msgid "" +#~ "Bank account is missing on the bank payment line of partner " +#~ "'%s' (reference '%s')." +#~ msgstr "" +#~ "Pri postavki bančnega plačila partnerja '%s' (sklic '%s') manjka bančni " +#~ "račun." diff --git a/account_banking_sepa_credit_transfer/i18n/sv.po b/account_banking_sepa_credit_transfer/i18n/sv.po new file mode 100644 index 00000000000..42d41917d40 --- /dev/null +++ b/account_banking_sepa_credit_transfer/i18n/sv.po @@ -0,0 +1,112 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_banking_sepa_credit_transfer +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2022-02-10 18:22+0000\n" +"Last-Translator: Simon S \n" +"Language-Team: none\n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "" +"Bank account is missing on the bank payment line of partner " +"'{partner}' (reference '{reference}')." +msgstr "" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_line__local_instrument__inst +msgid "Instant Transfer" +msgstr "Direktöverföring" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_line__local_instrument +msgid "Local Instrument" +msgstr "Lokalt instrument" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields,field_description:account_banking_sepa_credit_transfer.field_account_payment_method__pain_version +msgid "PAIN Version" +msgstr "PAIN-version" + +#. module: account_banking_sepa_credit_transfer +#: code:addons/account_banking_sepa_credit_transfer/models/account_payment_order.py:0 +#, python-format +msgid "PAIN version '%s' is not supported." +msgstr "PAIN-version '%s' stöds ej." + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_line +msgid "Payment Lines" +msgstr "Betalningsrader" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_method +msgid "Payment Methods" +msgstr "Betalningsmetoder" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model,name:account_banking_sepa_credit_transfer.model_account_payment_order +msgid "Payment Order" +msgstr "Betalningsorder" + +#. module: account_banking_sepa_credit_transfer +#: model:account.payment.method,name:account_banking_sepa_credit_transfer.sepa_credit_transfer +#: model:account.payment.mode,name:account_banking_sepa_credit_transfer.payment_mode_outbound_sepa_ct1 +msgid "SEPA Credit Transfer to suppliers" +msgstr "SEPA-kreditöverföring till leverantörer" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_02 +msgid "pain.001.001.02" +msgstr "pain.001.001.02" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_03 +msgid "pain.001.001.03 (recommended for credit transfer)" +msgstr "pain.001.001.03 (rekommenderas för kreditöverföring)" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_04 +msgid "pain.001.001.04" +msgstr "pain.001.001.04" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_001_05 +msgid "pain.001.001.05" +msgstr "pain.001.001.05" + +#. module: account_banking_sepa_credit_transfer +#: model:ir.model.fields.selection,name:account_banking_sepa_credit_transfer.selection__account_payment_method__pain_version__pain_001_003_03 +msgid "pain.001.003.03" +msgstr "" + +#, python-format +#~ msgid "" +#~ "Bank account is missing on the bank payment line of partner " +#~ "'%s' (reference '%s')." +#~ msgstr "" +#~ "Bankkonto saknas på banbetalningsraden för kontakten '%s' (reference " +#~ "'%s')." + +#~ msgid "Display Name" +#~ msgstr "Visningsnamn" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Last Modified on" +#~ msgstr "Senast ändrad den" + +#~ msgid "pain.001.003.03 (credit transfer in Germany)" +#~ msgstr "pain.001.003.03 (kreditöverföring i Tyskland)" diff --git a/account_banking_sepa_credit_transfer/models/__init__.py b/account_banking_sepa_credit_transfer/models/__init__.py new file mode 100644 index 00000000000..ff1cd9532aa --- /dev/null +++ b/account_banking_sepa_credit_transfer/models/__init__.py @@ -0,0 +1,3 @@ +from . import account_payment_method +from . import account_payment_order +from . import account_payment_line diff --git a/account_banking_sepa_credit_transfer/models/account_payment_line.py b/account_banking_sepa_credit_transfer/models/account_payment_line.py new file mode 100644 index 00000000000..6a88184a4ce --- /dev/null +++ b/account_banking_sepa_credit_transfer/models/account_payment_line.py @@ -0,0 +1,17 @@ +# Copyright 2017-2020 Akretion - Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import fields, models + + +class AccountPaymentLine(models.Model): + _inherit = "account.payment.line" + + # Local_instrument 'INST' used for instant credit transfers + # which will begin on November 21st 2017, cf + # https://www.europeanpaymentscouncil.eu/document-library/ + # rulebooks/2017-sepa-instant-credit-transfer-rulebook + local_instrument = fields.Selection( + selection_add=[("INST", "Instant Transfer")], + ondelete={"INST": "set null"}, + ) diff --git a/account_banking_sepa_credit_transfer/models/account_payment_method.py b/account_banking_sepa_credit_transfer/models/account_payment_method.py new file mode 100644 index 00000000000..a962b014bdf --- /dev/null +++ b/account_banking_sepa_credit_transfer/models/account_payment_method.py @@ -0,0 +1,49 @@ +# Copyright 2016-2020 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from odoo import api, fields, models + + +class AccountPaymentMethod(models.Model): + _inherit = "account.payment.method" + + pain_version = fields.Selection( + selection_add=[ + ("pain.001.001.02", "pain.001.001.02"), + ("pain.001.001.03", "pain.001.001.03 (recommended for credit transfer)"), + ("pain.001.001.04", "pain.001.001.04"), + ("pain.001.001.05", "pain.001.001.05"), + ("pain.001.003.03", "pain.001.003.03"), + ], + ondelete={ + "pain.001.001.02": "set null", + "pain.001.001.03": "set null", + "pain.001.001.04": "set null", + "pain.001.001.05": "set null", + "pain.001.003.03": "set null", + }, + ) + + def get_xsd_file_path(self): + self.ensure_one() + if self.pain_version in [ + "pain.001.001.02", + "pain.001.001.03", + "pain.001.001.04", + "pain.001.001.05", + "pain.001.003.03", + ]: + path = ( + "account_banking_sepa_credit_transfer/data/%s.xsd" % self.pain_version + ) + return path + return super().get_xsd_file_path() + + @api.model + def _get_payment_method_information(self): + res = super()._get_payment_method_information() + res["sepa_credit_transfer"] = { + "mode": "multi", + "domain": [("type", "=", "bank")], + } + return res diff --git a/account_banking_sepa_credit_transfer/models/account_payment_order.py b/account_banking_sepa_credit_transfer/models/account_payment_order.py new file mode 100644 index 00000000000..ebd4047408c --- /dev/null +++ b/account_banking_sepa_credit_transfer/models/account_payment_order.py @@ -0,0 +1,210 @@ +# Copyright 2010-2020 Akretion (www.akretion.com) +# Copyright 2014-2022 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from lxml import etree + +from odoo import _, fields, models +from odoo.exceptions import UserError + + +class AccountPaymentOrder(models.Model): + _inherit = "account.payment.order" + + def generate_payment_file(self): # noqa: C901 + """Creates the SEPA Credit Transfer file. That's the important code!""" + self.ensure_one() + if self.payment_method_id.code != "sepa_credit_transfer": + return super().generate_payment_file() + + pain_flavor = self.payment_method_id.pain_version + # We use pain_flavor.startswith('pain.001.001.xx') + # to support country-specific extensions such as + # pain.001.001.03.ch.02 (cf l10n_ch_sepa) + if not pain_flavor: + raise UserError(_("PAIN version '%s' is not supported.") % pain_flavor) + if pain_flavor.startswith("pain.001.001.02"): + bic_xml_tag = "BIC" + name_maxsize = 70 + root_xml_tag = "pain.001.001.02" + elif pain_flavor.startswith("pain.001.001.03"): + bic_xml_tag = "BIC" + # size 70 -> 140 for with pain.001.001.03 + # BUT the European Payment Council, in the document + # "SEPA Credit Transfer Scheme Customer-to-bank + # Implementation guidelines" v6.0 available on + # http://www.europeanpaymentscouncil.eu/knowledge_bank.cfm + # says that 'Nm' should be limited to 70 + # so we follow the "European Payment Council" + # and we put 70 and not 140 + name_maxsize = 70 + root_xml_tag = "CstmrCdtTrfInitn" + elif pain_flavor.startswith("pain.001.001.04"): + bic_xml_tag = "BICFI" + name_maxsize = 140 + root_xml_tag = "CstmrCdtTrfInitn" + elif pain_flavor.startswith("pain.001.001.05"): + bic_xml_tag = "BICFI" + name_maxsize = 140 + root_xml_tag = "CstmrCdtTrfInitn" + # added pain.001.003.03 for German Banks + # it is not in the offical ISO 20022 documentations, but nearly all + # german banks are working with this instead 001.001.03 + elif pain_flavor == "pain.001.003.03": + bic_xml_tag = "BIC" + name_maxsize = 70 + root_xml_tag = "CstmrCdtTrfInitn" + else: + raise UserError(_("PAIN version '%s' is not supported.") % pain_flavor) + xsd_file = self.payment_method_id.get_xsd_file_path() + gen_args = { + "bic_xml_tag": bic_xml_tag, + "name_maxsize": name_maxsize, + "convert_to_ascii": self.payment_method_id.convert_to_ascii, + "payment_method": "TRF", + "file_prefix": "sct_", + "pain_flavor": pain_flavor, + "pain_xsd_file": xsd_file, + } + nsmap = self.generate_pain_nsmap() + attrib = self.generate_pain_attrib() + xml_root = etree.Element("Document", nsmap=nsmap, attrib=attrib) + pain_root = etree.SubElement(xml_root, root_xml_tag) + # A. Group header + header = self.generate_group_header_block(pain_root, gen_args) + group_header, nb_of_transactions_a, control_sum_a = header + transactions_count_a = 0 + amount_control_sum_a = 0.0 + lines_per_group = {} + # key = (requested_date, priority, local_instrument, categ_purpose) + # values = list of lines as object + for line in self.payment_ids: + payment_line = line.payment_line_ids[:1] + priority = payment_line.priority + local_instrument = payment_line.local_instrument + categ_purpose = payment_line.category_purpose + # The field line.date is the requested payment date + # taking into account the 'date_prefered' setting + # cf account_banking_payment_export/models/account_payment.py + # in the inherit of action_open() + key = (line.date, priority, local_instrument, categ_purpose) + if key in lines_per_group: + lines_per_group[key].append(line) + else: + lines_per_group[key] = [line] + for (requested_date, priority, local_instrument, categ_purpose), lines in list( + lines_per_group.items() + ): + # B. Payment info + requested_date = fields.Date.to_string(requested_date) + ( + payment_info, + nb_of_transactions_b, + control_sum_b, + ) = self.generate_start_payment_info_block( + pain_root, + "self.name + '-' " + "+ requested_date.replace('-', '') + '-' + priority + " + "'-' + local_instrument + '-' + category_purpose", + priority, + local_instrument, + categ_purpose, + False, + requested_date, + { + "self": self, + "priority": priority, + "requested_date": requested_date, + "local_instrument": local_instrument or "NOinstr", + "category_purpose": categ_purpose or "NOcateg", + }, + gen_args, + ) + self.generate_party_block( + payment_info, "Dbtr", "B", self.company_partner_bank_id, gen_args + ) + charge_bearer = etree.SubElement(payment_info, "ChrgBr") + if self.sepa: + charge_bearer_text = "SLEV" + else: + charge_bearer_text = self.charge_bearer + charge_bearer.text = charge_bearer_text + transactions_count_b = 0 + amount_control_sum_b = 0.0 + for line in lines: + transactions_count_a += 1 + transactions_count_b += 1 + # C. Credit Transfer Transaction Info + credit_transfer_transaction_info = etree.SubElement( + payment_info, "CdtTrfTxInf" + ) + payment_identification = etree.SubElement( + credit_transfer_transaction_info, "PmtId" + ) + instruction_identification = etree.SubElement( + payment_identification, "InstrId" + ) + instruction_identification.text = self._prepare_field( + "Instruction Identification", + "str(line.move_id.id)", + {"line": line}, + 35, + gen_args=gen_args, + ) + end2end_identification = etree.SubElement( + payment_identification, "EndToEndId" + ) + end2end_identification.text = self._prepare_field( + "End to End Identification", + "str(line.move_id.id)", + {"line": line}, + 35, + gen_args=gen_args, + ) + currency_name = self._prepare_field( + "Currency Code", + "line.currency_id.name", + {"line": line}, + 3, + gen_args=gen_args, + ) + amount = etree.SubElement(credit_transfer_transaction_info, "Amt") + instructed_amount = etree.SubElement( + amount, "InstdAmt", Ccy=currency_name + ) + instructed_amount.text = "%.2f" % line.amount + amount_control_sum_a += line.amount + amount_control_sum_b += line.amount + if not line.partner_bank_id: + raise UserError( + _( + "Bank account is missing on the bank payment line " + "of partner '{partner}' (reference '{reference}')." + ).format(partner=line.partner_id.name, reference=line.name) + ) + + self.generate_party_block( + credit_transfer_transaction_info, + "Cdtr", + "C", + line.partner_bank_id, + gen_args, + line, + ) + line_purpose = line.payment_line_ids[:1].purpose + if line_purpose: + purpose = etree.SubElement(credit_transfer_transaction_info, "Purp") + etree.SubElement(purpose, "Cd").text = line_purpose + self.generate_remittance_info_block( + credit_transfer_transaction_info, line, gen_args + ) + if not pain_flavor.startswith("pain.001.001.02"): + nb_of_transactions_b.text = str(transactions_count_b) + control_sum_b.text = "%.2f" % amount_control_sum_b + if not pain_flavor.startswith("pain.001.001.02"): + nb_of_transactions_a.text = str(transactions_count_a) + control_sum_a.text = "%.2f" % amount_control_sum_a + else: + nb_of_transactions_a.text = str(transactions_count_a) + control_sum_a.text = "%.2f" % amount_control_sum_a + return self.finalize_sepa_file_creation(xml_root, gen_args) diff --git a/account_banking_sepa_credit_transfer/readme/CONFIGURE.rst b/account_banking_sepa_credit_transfer/readme/CONFIGURE.rst new file mode 100644 index 00000000000..05e8f3b894a --- /dev/null +++ b/account_banking_sepa_credit_transfer/readme/CONFIGURE.rst @@ -0,0 +1,6 @@ +* Create a Payment Mode dedicated to SEPA Credit Transfer. + +* Select the Payment Method *SEPA Credit Transfer to suppliers* (which is + automatically created upon module installation). + +* Check that this payment method uses the proper version of PAIN. diff --git a/account_banking_sepa_credit_transfer/readme/CONTRIBUTORS.rst b/account_banking_sepa_credit_transfer/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..033438d3f09 --- /dev/null +++ b/account_banking_sepa_credit_transfer/readme/CONTRIBUTORS.rst @@ -0,0 +1,24 @@ +* Alexis de Lattre +* Stéphane Bidoul +* Stefan Rijnhart +* Julien Laloux +* Alexandre Fayolle +* Raphaël Valyi +* Erwin van der Ploeg +* Sandy Carter +* `Tecnativa `__: + + * Antonio Espinosa + * Pedro M. Baeza + * Carlos Roca +* `DynApps NV `_: + + * Axel Priem +* `Sygel Technology `_: + + * Valentin Vinagre + * Manuel Regidor + +* `Trobz `_: + + * Dung Tran diff --git a/account_banking_sepa_credit_transfer/readme/CREDITS.rst b/account_banking_sepa_credit_transfer/readme/CREDITS.rst new file mode 100644 index 00000000000..70bc307ad0b --- /dev/null +++ b/account_banking_sepa_credit_transfer/readme/CREDITS.rst @@ -0,0 +1 @@ +The migration of this module from 15.0 to 16.0 was financially supported by Camptocamp diff --git a/account_banking_sepa_credit_transfer/readme/DESCRIPTION.rst b/account_banking_sepa_credit_transfer/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..b03032d8208 --- /dev/null +++ b/account_banking_sepa_credit_transfer/readme/DESCRIPTION.rst @@ -0,0 +1,16 @@ +Module to export payment orders in SEPA XML file format. + +SEPA PAIN (PAyment INitiation) is the new european standard for +Customer-to-Bank payment instructions. This module implements SEPA Credit +Transfer (SCT), more specifically PAIN versions 001.001.02, 001.001.03, +001.001.04 and 001.001.05. It is part of the ISO 20022 standard, available on +https://www.iso20022.org. + +The Implementation Guidelines for SEPA Credit Transfer published by the +European Payments Council (https://www.europeanpaymentscouncil.eu) use +PAIN version 001.001.03, so it's probably the version of PAIN that you should +try first. + +It also includes pain.001.003.03 which is used in Germany instead of 001.001.03. +You can read more about this here (only in german language): +http://www.ebics.de/startseite/ diff --git a/account_banking_sepa_credit_transfer/readme/INSTALL.rst b/account_banking_sepa_credit_transfer/readme/INSTALL.rst new file mode 100644 index 00000000000..6c1bc3922b2 --- /dev/null +++ b/account_banking_sepa_credit_transfer/readme/INSTALL.rst @@ -0,0 +1,4 @@ +This module depends on : +* account_banking_pain_base + +This module is part of the OCA/bank-payment suite. diff --git a/account_banking_sepa_credit_transfer/readme/USAGE.rst b/account_banking_sepa_credit_transfer/readme/USAGE.rst new file mode 100644 index 00000000000..b9c3d47c0cf --- /dev/null +++ b/account_banking_sepa_credit_transfer/readme/USAGE.rst @@ -0,0 +1,3 @@ +In the menu *Invoicing/Accounting > Vendors > Payment Orders*, create a new +payment order and select the Payment Mode dedicated to SEPA Credit +Transfer that you created during the configuration step. diff --git a/account_banking_sepa_credit_transfer/static/description/icon.png b/account_banking_sepa_credit_transfer/static/description/icon.png new file mode 100644 index 00000000000..e1485aabdd1 Binary files /dev/null and b/account_banking_sepa_credit_transfer/static/description/icon.png differ diff --git a/account_banking_sepa_credit_transfer/static/description/icon.svg b/account_banking_sepa_credit_transfer/static/description/icon.svg new file mode 100644 index 00000000000..5f56744a791 --- /dev/null +++ b/account_banking_sepa_credit_transfer/static/description/icon.svg @@ -0,0 +1,92 @@ + + + +image/svg+xmlCREDITTRANSFER + diff --git a/account_banking_sepa_credit_transfer/static/description/index.html b/account_banking_sepa_credit_transfer/static/description/index.html new file mode 100644 index 00000000000..c2f9bf6be79 --- /dev/null +++ b/account_banking_sepa_credit_transfer/static/description/index.html @@ -0,0 +1,487 @@ + + + + + + +Account Banking SEPA Credit Transfer + + + +
+

Account Banking SEPA Credit Transfer

+ + +

Beta License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

+

Module to export payment orders in SEPA XML file format.

+

SEPA PAIN (PAyment INitiation) is the new european standard for +Customer-to-Bank payment instructions. This module implements SEPA Credit +Transfer (SCT), more specifically PAIN versions 001.001.02, 001.001.03, +001.001.04 and 001.001.05. It is part of the ISO 20022 standard, available on +https://www.iso20022.org.

+

The Implementation Guidelines for SEPA Credit Transfer published by the +European Payments Council (https://www.europeanpaymentscouncil.eu) use +PAIN version 001.001.03, so it’s probably the version of PAIN that you should +try first.

+

It also includes pain.001.003.03 which is used in Germany instead of 001.001.03. +You can read more about this here (only in german language): +http://www.ebics.de/startseite/

+

Table of contents

+ +
+

Installation

+

This module depends on : +* account_banking_pain_base

+

This module is part of the OCA/bank-payment suite.

+
+
+

Configuration

+
    +
  • Create a Payment Mode dedicated to SEPA Credit Transfer.
  • +
  • Select the Payment Method SEPA Credit Transfer to suppliers (which is +automatically created upon module installation).
  • +
  • Check that this payment method uses the proper version of PAIN.
  • +
+
+
+

Usage

+

In the menu Invoicing/Accounting > Vendors > Payment Orders, create a new +payment order and select the Payment Mode dedicated to SEPA Credit +Transfer that you created during the configuration step.

+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

Other credits

+

The migration of this module from 15.0 to 16.0 was financially supported by Camptocamp

+
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/bank-payment project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/account_banking_sepa_credit_transfer/tests/__init__.py b/account_banking_sepa_credit_transfer/tests/__init__.py new file mode 100644 index 00000000000..0ec70580435 --- /dev/null +++ b/account_banking_sepa_credit_transfer/tests/__init__.py @@ -0,0 +1 @@ +from . import test_sct diff --git a/account_banking_sepa_credit_transfer/tests/test_sct.py b/account_banking_sepa_credit_transfer/tests/test_sct.py new file mode 100644 index 00000000000..7873dcf8084 --- /dev/null +++ b/account_banking_sepa_credit_transfer/tests/test_sct.py @@ -0,0 +1,374 @@ +# Copyright 2016 Akretion (Alexis de Lattre ) +# Copyright 2020 Sygel Technology - Valentin Vinagre +# Copyright 2018-2022 Tecnativa - Pedro M. Baeza +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +import base64 +import time + +from lxml import etree + +from odoo.exceptions import UserError +from odoo.tests.common import TransactionCase + + +class TestSCT(TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.account_model = cls.env["account.account"] + cls.move_model = cls.env["account.move"] + cls.journal_model = cls.env["account.journal"] + cls.payment_order_model = cls.env["account.payment.order"] + cls.payment_line_model = cls.env["account.payment.line"] + cls.partner_bank_model = cls.env["res.partner.bank"] + cls.attachment_model = cls.env["ir.attachment"] + cls.invoice_model = cls.env["account.move"] + cls.invoice_line_model = cls.env["account.move.line"] + cls.partner_agrolait = cls.env.ref("base.res_partner_2") + cls.partner_asus = cls.env.ref("base.res_partner_1") + cls.partner_c2c = cls.env.ref("base.res_partner_12") + cls.eur_currency = cls.env.ref("base.EUR") + cls.eur_currency.active = True + cls.usd_currency = cls.env.ref("base.USD") + cls.usd_currency.active = True + cls.main_company = cls.env["res.company"].create( + {"name": "Test EUR company", "currency_id": cls.eur_currency.id} + ) + cls.partner_agrolait.company_id = cls.main_company.id + cls.partner_asus.company_id = cls.main_company.id + cls.partner_c2c.company_id = cls.main_company.id + cls.env.user.write( + { + "company_ids": [(6, 0, cls.main_company.ids)], + "company_id": cls.main_company.id, + } + ) + cls.account_expense = cls.account_model.create( + { + "account_type": "expense", + "company_id": cls.main_company.id, + "name": "Test expense", + "code": "TE.1", + } + ) + cls.account_payable = cls.account_model.create( + { + "account_type": "liability_payable", + "company_id": cls.main_company.id, + "name": "Test payable", + "code": "TP.1", + } + ) + (cls.partner_asus + cls.partner_c2c + cls.partner_agrolait).with_company( + cls.main_company.id + ).write({"property_account_payable_id": cls.account_payable.id}) + cls.general_journal = cls.journal_model.create( + { + "name": "General journal", + "type": "general", + "code": "GEN", + "company_id": cls.main_company.id, + } + ) + cls.purchase_journal = cls.journal_model.create( + { + "name": "Purchase journal", + "type": "purchase", + "code": "PUR", + "company_id": cls.main_company.id, + } + ) + cls.partner_bank = cls.env.ref("account_payment_mode.main_company_iban").copy( + { + "company_id": cls.main_company.id, + "partner_id": cls.main_company.partner_id.id, + "bank_id": ( + cls.env.ref("account_payment_mode.bank_la_banque_postale").id + ), + } + ) + cls.bank_journal = cls.journal_model.create( + { + "name": "Company Bank journal", + "type": "bank", + "code": "BNKFB", + "bank_account_id": cls.partner_bank.id, + "bank_id": cls.partner_bank.bank_id.id, + "company_id": cls.main_company.id, + "outbound_payment_method_line_ids": [ + ( + 0, + 0, + { + "payment_method_id": cls.env.ref( + "account_banking_sepa_credit_transfer.sepa_credit_transfer" + ).id, + "payment_account_id": cls.account_expense.id, + }, + ) + ], + } + ) + + # update payment mode + cls.payment_mode = cls.env.ref( + "account_banking_sepa_credit_transfer.payment_mode_outbound_sepa_ct1" + ).copy({"company_id": cls.main_company.id}) + cls.payment_mode.write( + {"bank_account_link": "fixed", "fixed_journal_id": cls.bank_journal.id} + ) + # Trigger the recompute of account type on res.partner.bank + cls.partner_bank_model.search([])._compute_acc_type() + + def test_no_pain(self): + self.payment_mode.payment_method_id.pain_version = False + with self.assertRaises(UserError): + self.check_eur_currency_sct() + + def test_pain_001_03(self): + self.payment_mode.payment_method_id.pain_version = "pain.001.001.03" + self.check_eur_currency_sct() + + def test_pain_001_04(self): + self.payment_mode.payment_method_id.pain_version = "pain.001.001.04" + self.check_eur_currency_sct() + + def test_pain_001_05(self): + self.payment_mode.payment_method_id.pain_version = "pain.001.001.05" + self.check_eur_currency_sct() + + def test_pain_003_03(self): + self.payment_mode.payment_method_id.pain_version = "pain.001.003.03" + self.check_eur_currency_sct() + + def check_eur_currency_sct(self): + invoice1 = self.create_invoice( + self.partner_agrolait.id, + "account_payment_mode.res_partner_2_iban", + self.eur_currency.id, + 42.0, + "F1341", + ) + invoice2 = self.create_invoice( + self.partner_agrolait.id, + "account_payment_mode.res_partner_2_iban", + self.eur_currency.id, + 12.0, + "F1342", + ) + invoice3 = self.create_invoice( + self.partner_agrolait.id, + "account_payment_mode.res_partner_2_iban", + self.eur_currency.id, + 5.0, + "A1301", + "in_refund", + ) + invoice4 = self.create_invoice( + self.partner_c2c.id, + "account_payment_mode.res_partner_12_iban", + self.eur_currency.id, + 11.0, + "I1642", + ) + invoice5 = self.create_invoice( + self.partner_c2c.id, + "account_payment_mode.res_partner_12_iban", + self.eur_currency.id, + 41.0, + "I1643", + ) + for inv in [invoice1, invoice2, invoice3, invoice4, invoice5]: + action = inv.create_account_payment_line() + self.assertEqual(action["res_model"], "account.payment.order") + self.payment_order = self.payment_order_model.browse(action["res_id"]) + self.assertEqual(self.payment_order.payment_type, "outbound") + self.assertEqual(self.payment_order.payment_mode_id, self.payment_mode) + self.assertEqual(self.payment_order.journal_id, self.bank_journal) + pay_lines = self.payment_line_model.search( + [ + ("partner_id", "=", self.partner_agrolait.id), + ("order_id", "=", self.payment_order.id), + ] + ) + self.assertEqual(len(pay_lines), 3) + agrolait_pay_line1 = pay_lines[0] + self.assertEqual(agrolait_pay_line1.currency_id, self.eur_currency) + self.assertEqual(agrolait_pay_line1.partner_bank_id, invoice1.partner_bank_id) + self.assertEqual( + agrolait_pay_line1.currency_id.compare_amounts( + agrolait_pay_line1.amount_currency, 42 + ), + 0, + ) + self.assertEqual(agrolait_pay_line1.communication_type, "normal") + self.assertEqual(agrolait_pay_line1.communication, "F1341") + self.payment_order.draft2open() + self.assertEqual(self.payment_order.state, "open") + self.assertEqual(self.payment_order.sepa, True) + self.assertTrue(self.payment_order.payment_ids) + agrolait_bank_line = self.payment_order.payment_ids[0] + self.assertEqual(agrolait_bank_line.currency_id, self.eur_currency) + self.assertEqual( + agrolait_bank_line.currency_id.compare_amounts( + agrolait_bank_line.amount, 49.0 + ), + 0, + ) + self.assertEqual(agrolait_bank_line.payment_reference, "F1341-F1342-A1301") + self.assertEqual(agrolait_bank_line.partner_bank_id, invoice1.partner_bank_id) + + action = self.payment_order.open2generated() + self.assertEqual(self.payment_order.state, "generated") + self.assertEqual(action["res_model"], "ir.attachment") + attachment = self.attachment_model.browse(action["res_id"]) + self.assertEqual(attachment.name[-4:], ".xml") + xml_file = base64.b64decode(attachment.datas) + xml_root = etree.fromstring(xml_file) + namespaces = xml_root.nsmap + namespaces["p"] = xml_root.nsmap[None] + namespaces.pop(None) + pay_method_xpath = xml_root.xpath("//p:PmtInf/p:PmtMtd", namespaces=namespaces) + self.assertEqual(pay_method_xpath[0].text, "TRF") + sepa_xpath = xml_root.xpath( + "//p:PmtInf/p:PmtTpInf/p:SvcLvl/p:Cd", namespaces=namespaces + ) + self.assertEqual(sepa_xpath[0].text, "SEPA") + debtor_acc_xpath = xml_root.xpath( + "//p:PmtInf/p:DbtrAcct/p:Id/p:IBAN", namespaces=namespaces + ) + self.assertEqual( + debtor_acc_xpath[0].text, + self.payment_order.company_partner_bank_id.sanitized_acc_number, + ) + self.payment_order.generated2uploaded() + self.assertEqual(self.payment_order.state, "uploaded") + for inv in [invoice1, invoice2, invoice3, invoice4, invoice5]: + self.assertEqual(inv.state, "posted") + self.assertEqual( + inv.currency_id.compare_amounts(inv.amount_residual, 0.0), + 0, + ) + return + + def test_usd_currency_sct(self): + invoice1 = self.create_invoice( + self.partner_asus.id, + "account_payment_mode.res_partner_2_iban", + self.usd_currency.id, + 2042.0, + "Inv9032", + ) + invoice2 = self.create_invoice( + self.partner_asus.id, + "account_payment_mode.res_partner_2_iban", + self.usd_currency.id, + 1012.0, + "Inv9033", + ) + for inv in [invoice1, invoice2]: + action = inv.create_account_payment_line() + self.assertEqual(action["res_model"], "account.payment.order") + self.payment_order = self.payment_order_model.browse(action["res_id"]) + self.assertEqual(self.payment_order.payment_type, "outbound") + self.assertEqual(self.payment_order.payment_mode_id, self.payment_mode) + self.assertEqual(self.payment_order.journal_id, self.bank_journal) + pay_lines = self.payment_line_model.search( + [ + ("partner_id", "=", self.partner_asus.id), + ("order_id", "=", self.payment_order.id), + ] + ) + self.assertEqual(len(pay_lines), 2) + asus_pay_line1 = pay_lines[0] + self.assertEqual(asus_pay_line1.currency_id, self.usd_currency) + self.assertEqual(asus_pay_line1.partner_bank_id, invoice1.partner_bank_id) + self.assertEqual( + asus_pay_line1.currency_id.compare_amounts( + asus_pay_line1.amount_currency, 2042 + ), + 0, + ) + self.assertEqual(asus_pay_line1.communication_type, "normal") + self.assertEqual(asus_pay_line1.communication, "Inv9032") + self.payment_order.draft2open() + self.assertEqual(self.payment_order.state, "open") + self.assertEqual(self.payment_order.sepa, False) + self.assertEqual(self.payment_order.payment_count, 1) + asus_bank_line = self.payment_order.payment_ids[0] + self.assertEqual(asus_bank_line.currency_id, self.usd_currency) + self.assertEqual( + asus_bank_line.currency_id.compare_amounts(asus_bank_line.amount, 3054.0), + 0, + ) + self.assertEqual(asus_bank_line.payment_reference, "Inv9032-Inv9033") + self.assertEqual(asus_bank_line.partner_bank_id, invoice1.partner_bank_id) + + action = self.payment_order.open2generated() + self.assertEqual(self.payment_order.state, "generated") + self.assertEqual(action["res_model"], "ir.attachment") + attachment = self.attachment_model.browse(action["res_id"]) + self.assertEqual(attachment.name[-4:], ".xml") + xml_file = base64.b64decode(attachment.datas) + xml_root = etree.fromstring(xml_file) + namespaces = xml_root.nsmap + namespaces["p"] = xml_root.nsmap[None] + namespaces.pop(None) + pay_method_xpath = xml_root.xpath("//p:PmtInf/p:PmtMtd", namespaces=namespaces) + self.assertEqual(pay_method_xpath[0].text, "TRF") + sepa_xpath = xml_root.xpath( + "//p:PmtInf/p:PmtTpInf/p:SvcLvl/p:Cd", namespaces=namespaces + ) + self.assertEqual(len(sepa_xpath), 0) + debtor_acc_xpath = xml_root.xpath( + "//p:PmtInf/p:DbtrAcct/p:Id/p:IBAN", namespaces=namespaces + ) + self.assertEqual( + debtor_acc_xpath[0].text, + self.payment_order.company_partner_bank_id.sanitized_acc_number, + ) + self.payment_order.generated2uploaded() + self.assertEqual(self.payment_order.state, "uploaded") + for inv in [invoice1, invoice2]: + self.assertEqual(inv.state, "posted") + self.assertEqual( + inv.currency_id.compare_amounts(inv.amount_residual, 0.0), + 0, + ) + return + + @classmethod + def create_invoice( + cls, + partner_id, + partner_bank_xmlid, + currency_id, + price_unit, + reference, + move_type="in_invoice", + ): + partner_bank = cls.env.ref(partner_bank_xmlid) + partner_bank.write({"company_id": False}) + data = { + "partner_id": partner_id, + "reference_type": "none", + "ref": reference, + "currency_id": currency_id, + "invoice_date": time.strftime("%Y-%m-%d"), + "move_type": move_type, + "payment_mode_id": cls.payment_mode.id, + "partner_bank_id": partner_bank.id, + "company_id": cls.main_company.id, + "invoice_line_ids": [], + } + line_data = { + "name": "Great service", + "account_id": cls.account_expense.id, + "price_unit": price_unit, + "quantity": 1, + } + data["invoice_line_ids"].append((0, 0, line_data)) + inv = cls.env["account.move"].create(data) + inv.action_post() + return inv diff --git a/setup/account_banking_sepa_credit_transfer/odoo/addons/account_banking_sepa_credit_transfer b/setup/account_banking_sepa_credit_transfer/odoo/addons/account_banking_sepa_credit_transfer new file mode 120000 index 00000000000..38d001af607 --- /dev/null +++ b/setup/account_banking_sepa_credit_transfer/odoo/addons/account_banking_sepa_credit_transfer @@ -0,0 +1 @@ +../../../../account_banking_sepa_credit_transfer \ No newline at end of file diff --git a/setup/account_banking_sepa_credit_transfer/setup.py b/setup/account_banking_sepa_credit_transfer/setup.py new file mode 100644 index 00000000000..28c57bb6403 --- /dev/null +++ b/setup/account_banking_sepa_credit_transfer/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)