-
-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by SirAionTech
- Loading branch information
Showing
35 changed files
with
4,457 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
====================================== | ||
ITA - Banking SEPA Credit Transfer CBI | ||
====================================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:694cb200e41949b59d6db167f47ad037c47e0970c568837740dfce177309f3a0 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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%2Fl10n--italy-lightgray.png?logo=github | ||
:target: https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_sct_cbi | ||
:alt: OCA/l10n-italy | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_sct_cbi | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=14.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module adds new payment export types to use in the payment order. | ||
For italian credit transfer, the format codes are | ||
|
||
- CBIBdyPaymentRequest.00.04.01 | ||
- CBIBdyCrossBorderPaymentRequest.00.01.01 | ||
|
||
The created XML follows the CBI standards in | ||
https://www.cbi-org.eu/My-Menu/Servizio-CBI-Documentazione/Servizio-CBI-Documentazione-Standard. | ||
|
||
Note (ITA): | ||
|
||
Le specifiche CBI del bonifico XML SEPA (versione 00.04.01) si basano | ||
sul messaggio ISO20022 pain.001.001.09 e sono compliant al Rulebook | ||
SEPA. | ||
|
||
Ad esempio la presenza obbligatoria dell’ABI della banca di addebito | ||
contenuto nel campo “MmbId” che è invece facoltativo nel tracciato ISO. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Configuration | ||
============= | ||
|
||
In Invoicing / Configuration / Settings / SEPA/PAIN, set: | ||
|
||
- the CUC code in field ``Initiating Party Identifier`` | ||
- the ``Initiating Party Identifier`` (must be "CBI"). | ||
|
||
|company_setting| | ||
|
||
-------------- | ||
|
||
In Invoicing / Configuration / Management / Payment Modes, create a new | ||
payment mode. | ||
|
||
|payment_mode1| | ||
|
||
-------------- | ||
|
||
In the new payment mode is important to set the Italian format SEPA CBI | ||
|
||
|payment_mode2| | ||
|
||
.. |company_setting| image:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/l10n_it_sct_cbi/static/company_setting.png | ||
.. |payment_mode1| image:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/l10n_it_sct_cbi/static/payment_mode1.png | ||
.. |payment_mode2| image:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/l10n_it_sct_cbi/static/payment_mode2.png | ||
|
||
Usage | ||
===== | ||
|
||
This module uses the grouped payments implemented by the OCA in | ||
``account_payment_order``, grouped payments are also implemented in Odoo | ||
EE. | ||
|
||
When you create a new payment order, you must select the payment mode | ||
created during configuration | ||
|
||
|order_payment| | ||
|
||
In order to get the xml file: | ||
|
||
1. click on "Confirm payments" | ||
2. click on "Generate payment file" |generate_payment| | ||
|
||
-------------- | ||
|
||
Then you can download the generated file | ||
|
||
|make_payment_download| | ||
|
||
.. |order_payment| image:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/l10n_it_sct_cbi/static/order_payment.png | ||
.. |generate_payment| image:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/l10n_it_sct_cbi/static/generate_payment.png | ||
.. |make_payment_download| image:: https://raw.githubusercontent.com/OCA/l10n-italy/14.0/l10n_it_sct_cbi/static/make_payment_download.png | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_sct_cbi%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
------- | ||
|
||
* Openforce di Alessandro Camilli | ||
|
||
Contributors | ||
------------ | ||
|
||
- Alessandro Camilli <alessandro.camilli@openforce.it> | ||
- Andrea Colangelo <andrea.colangelo@openforce.it> | ||
- Lorenzo Battistini <lorenzo.battistini@agilebg.com> | ||
- Alex Comba <alex.comba@agilebg.com> | ||
- `Aion Tech <https://aiontech.company/>`__: | ||
|
||
- Simone Rubino <simone.rubino@aion-tech.it> | ||
|
||
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. | ||
|
||
.. |maintainer-SirAionTech| image:: https://github.com/SirAionTech.png?size=40px | ||
:target: https://github.com/SirAionTech | ||
:alt: SirAionTech | ||
|
||
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__: | ||
|
||
|maintainer-SirAionTech| | ||
|
||
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_sct_cbi>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright 2016 Alessandro Camilli <alessandro.camilli@openforce.it> | ||
# Copyright 2024 Simone Rubino - Aion Tech | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "ITA - Banking SEPA Credit Transfer CBI", | ||
"summary": "Usare gli standard CBI per SEPA Credit Transfer", | ||
"version": "14.0.1.0.0", | ||
"category": "Banking", | ||
"author": "Openforce di Alessandro Camilli, Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/l10n-italy" "/tree/14.0/l10n_it_sct_cbi", | ||
"license": "AGPL-3", | ||
"maintainers": [ | ||
"SirAionTech", | ||
], | ||
"depends": [ | ||
"account_banking_pain_base", | ||
], | ||
"data": [ | ||
"data/account_payment_method.xml", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- | ||
~ Copyright 2024 Simone Rubino - Aion Tech | ||
~ License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
--> | ||
<odoo noupdate="1"> | ||
<record id="sepa_cbi_credit_transfer" model="account.payment.method"> | ||
<field name="name">SEPA Credit Transfer Payment Request CBI</field> | ||
<field name="code">sepa_cbi_credit_transfer</field> | ||
<field name="payment_type">outbound</field> | ||
<field name="bank_account_required" eval="True" /> | ||
<field name="pain_version">CBIBdyPaymentRequest.00.04.01</field> | ||
<field name="warn_not_sepa" eval="True" /> | ||
</record> | ||
</odoo> |
21 changes: 21 additions & 0 deletions
21
l10n_it_sct_cbi/data/standards/CBIBdyCrossBorderPaymentRequest.00.01.01.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- edited with XMLSpy v2009 (http://www.altova.com) by Dario Delle Noci (CONSORZIO CUSTOMER TO BUSINESS INTERACTION - CBI) --> | ||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:PMRQ="urn:CBI:xsd:CBICrossBorderPaymentRequestLogMsg.00.01.01" xmlns:SGNT="urn:CBI:xsd:CBISgnInf.001.04" xmlns="urn:CBI:xsd:CBIBdyCrossBorderPaymentRequest.00.01.01" targetNamespace="urn:CBI:xsd:CBIBdyCrossBorderPaymentRequest.00.01.01" elementFormDefault="qualified"> | ||
<!-- Namespace import --> | ||
<xs:import namespace="urn:CBI:xsd:CBICrossBorderPaymentRequestLogMsg.00.01.01" schemaLocation="CBICrossBorderPaymentRequestLogMsg.00.01.01.xsd"/> | ||
<xs:import namespace="urn:CBI:xsd:CBISgnInf.001.04" schemaLocation="CBISgnInf.001.04.xsd"/> | ||
<xs:element name="CBIBdyCrossBorderPaymentRequest" type="CBIBdyCrossBorderPaymentRequest.00.01.01"/> | ||
<!-- Message Body structure definition --> | ||
<xs:complexType name="CBIBdyCrossBorderPaymentRequest.00.01.01"> | ||
<xs:sequence> | ||
<xs:element name="CBIEnvelCBICrossBorderPaymentRequest" type="CBIEnvelCBICrossBorderPaymentRequest.00.01.01" maxOccurs="unbounded"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
<!-- Envel Payment Status Report structure definition --> | ||
<xs:complexType name="CBIEnvelCBICrossBorderPaymentRequest.00.01.01"> | ||
<xs:choice> | ||
<xs:element name="CBICrossBorderPaymentRequestLogMsg" type="PMRQ:CBICrossBorderPaymentRequestLogMsg.00.01.01"/> | ||
<xs:element name="CBISgnInf" type="SGNT:CBISgnInf.001.04"/> | ||
</xs:choice> | ||
</xs:complexType> | ||
</xs:schema> |
22 changes: 22 additions & 0 deletions
22
l10n_it_sct_cbi/data/standards/CBIBdyPaymentRequest.00.04.01.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- edited with XMLSpy v2013 rel. 2 (x64) (http://www.altova.com) by Ivana Gargiulo (CONSORZIO CUSTOMER TO BUSINESS INTERACTION - CBI) --> | ||
<!-- Entrata in vigore: 17/03/2024 --> | ||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:PMRQ="urn:CBI:xsd:CBIPaymentRequest.00.04.01" xmlns:SGNT="urn:CBI:xsd:CBISgnInf.001.04" xmlns="urn:CBI:xsd:CBIBdyPaymentRequest.00.04.01" targetNamespace="urn:CBI:xsd:CBIBdyPaymentRequest.00.04.01" elementFormDefault="qualified"> | ||
<!-- Namespace import --> | ||
<xs:import namespace="urn:CBI:xsd:CBIPaymentRequest.00.04.01" schemaLocation="CBIPaymentRequest.00.04.01.xsd"/> | ||
<xs:import namespace="urn:CBI:xsd:CBISgnInf.001.04" schemaLocation="CBISgnInf.001.04.xsd"/> | ||
<xs:element name="CBIBdyPaymentRequest" type="CBIBdyPaymentRequest.00.04.01"/> | ||
<!-- Message Body structure definition --> | ||
<xs:complexType name="CBIBdyPaymentRequest.00.04.01"> | ||
<xs:sequence> | ||
<xs:element name="CBIEnvelPaymentRequest" type="CBIEnvelPaymentRequest.00.04.01" maxOccurs="unbounded"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
<!-- Envel Payment Status Report structure definition --> | ||
<xs:complexType name="CBIEnvelPaymentRequest.00.04.01"> | ||
<xs:choice> | ||
<xs:element name="CBIPaymentRequest" type="PMRQ:CBIPaymentRequest.00.04.01"/> | ||
<xs:element name="CBISgnInf" type="SGNT:CBISgnInf.001.04"/> | ||
</xs:choice> | ||
</xs:complexType> | ||
</xs:schema> |
Oops, something went wrong.