Skip to content

Commit 5f14e4d

Browse files
committed
[ADD] l10n_it_sdd_cbi: adding module for CBI SDD Italy
1 parent f49d23c commit 5f14e4d

22 files changed

+3395
-0
lines changed

l10n_it_sdd_cbi/README.rst

+82
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
=======================
2+
ITA - SEPA Direct Debit
3+
=======================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:6bc737911a767ce7d4e92809a11ef7de5acedfd8abc2b2cc9a7c36f5e4523546
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
20+
:target: https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_sdd_cbi
21+
:alt: OCA/l10n-italy
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_sdd_cbi
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=14.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
**Italiano**
32+
33+
Questo modulo consente di generare correttamente file CBI SDD Italy.
34+
35+
**English**
36+
37+
The module allows to use correctly generate the file CBI SDD Italy.
38+
39+
**Table of contents**
40+
41+
.. contents::
42+
:local:
43+
44+
Bug Tracker
45+
===========
46+
47+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
48+
In case of trouble, please check there if your issue has already been reported.
49+
If you spotted it first, help us to smash it by providing a detailed and welcomed
50+
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_sdd_cbi%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
51+
52+
Do not contact contributors directly about support or help with technical issues.
53+
54+
Credits
55+
=======
56+
57+
Authors
58+
~~~~~~~
59+
60+
* Dinamiche Aziendali srl
61+
62+
Contributors
63+
~~~~~~~~~~~~
64+
65+
* Giuseppe Borruso
66+
67+
Maintainers
68+
~~~~~~~~~~~
69+
70+
This module is maintained by the OCA.
71+
72+
.. image:: https://odoo-community.org/logo.png
73+
:alt: Odoo Community Association
74+
:target: https://odoo-community.org
75+
76+
OCA, or the Odoo Community Association, is a nonprofit organization whose
77+
mission is to support the collaborative development of Odoo features and
78+
promote its widespread use.
79+
80+
This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_sdd_cbi>`_ project on GitHub.
81+
82+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

l10n_it_sdd_cbi/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from . import models
2+
from .post_install import update_bank_journals

l10n_it_sdd_cbi/__manifest__.py

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright 2024 Giuseppe Borruso - Dinamiche Aziendali srl
2+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3+
4+
{
5+
"name": "ITA - SEPA Direct Debit",
6+
"version": "14.0.1.0.0",
7+
"development_status": "Beta",
8+
"category": "Localization/Italy",
9+
"summary": "Create SEPA files for CBI SDD Italy",
10+
"author": "Dinamiche Aziendali srl, Odoo Community Association (OCA)",
11+
"website": "https://github.com/OCA/l10n-italy",
12+
"license": "AGPL-3",
13+
"depends": [
14+
"account_payment_order",
15+
"account_banking_pain_base",
16+
"account_banking_mandate",
17+
"account_banking_sepa_direct_debit",
18+
"l10n_it_abicab",
19+
],
20+
"data": [
21+
"data/account_payment_method.xml",
22+
"views/account_payment_order_view.xml",
23+
"views/res_config_settings_view.xml",
24+
],
25+
"post_init_hook": "update_bank_journals",
26+
"installable": True,
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- edited with XMLSpy v2013 rel. 2 (x64) (http://www.altova.com) by Ivana Gargiulo (CONSORZIO CUSTOMER TO BUSINESS INTERACTION - CBI) -->
3+
<!-- Entrata in vigore: 20/11/2016 -->
4+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:LMSG="urn:CBI:xsd:CBISDDReqLogMsg.00.01.00" xmlns="urn:CBI:xsd:CBIBdySDDReq.00.01.00" targetNamespace="urn:CBI:xsd:CBIBdySDDReq.00.01.00" elementFormDefault="qualified">
5+
<!-- Namespace import -->
6+
<xs:import namespace="urn:CBI:xsd:CBISDDReqLogMsg.00.01.00" schemaLocation="CBISDDReqLogMsg.00.01.00.xsd"/>
7+
<!--xs:import namespace="urn:CBI:xsd:CBISgnInf.001.04" schemaLocation="CBISgnInf.001.04.xsd"/-->
8+
<xs:element name="CBIBdySDDReq" type="CBIBdySDDReq.00.01.00"/>
9+
<!-- Message Body structure definition -->
10+
<xs:complexType name="CBIBdySDDReq.00.01.00">
11+
<xs:sequence>
12+
<xs:element name="PhyMsgInf" type="PhysicalMsgInfoType">
13+
<xs:annotation>
14+
<xs:documentation>1.3.1. - Informazioni generali sul messaggio fisico</xs:documentation>
15+
</xs:annotation>
16+
</xs:element>
17+
<xs:element name="CBIEnvelSDDReqLogMsg" type="CBIEnvelSDDLogMsg.00.01.00" maxOccurs="unbounded">
18+
<xs:annotation>
19+
<xs:documentation>1.3.2. - Blocco contenente il messaggio logico CBI. E' strutturato per poter contenere anche la firma digitale secondo le regole riportate nel documento FIRMA-MO-001. </xs:documentation>
20+
</xs:annotation>
21+
</xs:element>
22+
</xs:sequence>
23+
</xs:complexType>
24+
<xs:complexType name="CBIEnvelSDDLogMsg.00.01.00">
25+
<xs:choice>
26+
<xs:element name="CBISDDReqLogMsg" type="LMSG:CBISDDReqLogMsg.00.01.00">
27+
<xs:annotation>
28+
<xs:documentation>1.3.2.1. - Messaggio logico CBI di richiesta incasso SDD </xs:documentation>
29+
</xs:annotation>
30+
</xs:element>
31+
<!--xs:element name="CBISgnInf" type="SGNT:CBISgnInf.001.04">
32+
<xs:annotation>
33+
<xs:documentation>1.3.2.2. - Blocco contenente la firma digitale secondo le specifiche CBI</xs:documentation>
34+
</xs:annotation>
35+
</xs:element-->
36+
</xs:choice>
37+
</xs:complexType>
38+
<xs:complexType name="PhysicalMsgInfoType">
39+
<xs:sequence>
40+
<xs:element name="PhyMsgTpCd">
41+
<xs:annotation>
42+
<xs:documentation>1.3.1.1 - Tipologia di messaggio fisico, espressa in forma codificata</xs:documentation>
43+
</xs:annotation>
44+
<xs:simpleType>
45+
<xs:restriction base="xs:string">
46+
<xs:enumeration value="INC-SDDC-01"/>
47+
<xs:enumeration value="INC-SDDB-01"/>
48+
</xs:restriction>
49+
</xs:simpleType>
50+
</xs:element>
51+
<xs:element name="NbOfLogMsg" type="xs:positiveInteger">
52+
<xs:annotation>
53+
<xs:documentation>1.3.1.2 - Indica il numero di messaggi logici contenuti nel messaggio fisico. Deve coincidere con il numero dei blocchi 1.3.2.</xs:documentation>
54+
</xs:annotation>
55+
</xs:element>
56+
</xs:sequence>
57+
</xs:complexType>
58+
<xs:complexType name="OrgnlPhyMsgInfAndStsType">
59+
<xs:sequence>
60+
<xs:element name="IdE2EMsg">
61+
<xs:annotation>
62+
<xs:documentation>IdE2E presente nell'header di servizio del messaggio fisico referenziato </xs:documentation>
63+
</xs:annotation>
64+
</xs:element>
65+
<xs:element name="XMLCreDt">
66+
<xs:annotation>
67+
<xs:documentation>XMLCreDt presente nell'header di servizio del messaggio fisico referenziato </xs:documentation>
68+
</xs:annotation>
69+
</xs:element>
70+
<xs:element name="Status" type="StatusType">
71+
<xs:annotation>
72+
<xs:documentation>Riporta informazioni circa lo stato del messaggio fisico referenziato</xs:documentation>
73+
</xs:annotation>
74+
</xs:element>
75+
</xs:sequence>
76+
</xs:complexType>
77+
<xs:complexType name="StatusType">
78+
<xs:choice>
79+
<xs:element name="StsOK" type="xs:string"/>
80+
<xs:sequence>
81+
<xs:element name="StsKO" type="xs:string"/>
82+
<xs:element name="ErrorDescr" type="Max256Text"/>
83+
<xs:element name="ElmNm" type="Max256Text" minOccurs="0"/>
84+
</xs:sequence>
85+
</xs:choice>
86+
</xs:complexType>
87+
<xs:simpleType name="Max256Text">
88+
<xs:restriction base="xs:string">
89+
<xs:minLength value="1"/>
90+
<xs:maxLength value="256"/>
91+
</xs:restriction>
92+
</xs:simpleType>
93+
</xs:schema>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- edited with XMLSpy v2013 rel. 2 (x64) (http://www.altova.com) by Ivana Gargiulo (CONSORZIO CUSTOMER TO BUSINESS INTERACTION - CBI) -->
3+
<!-- Entrata in vigore: 17/03/2024 -->
4+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:LMSG="urn:CBI:xsd:CBISDDReqLogMsg.00.01.01" xmlns:SGNT="urn:CBI:xsd:CBISgnInf.001.04" xmlns="urn:CBI:xsd:CBIBdySDDReq.00.01.01" targetNamespace="urn:CBI:xsd:CBIBdySDDReq.00.01.01" elementFormDefault="qualified">
5+
<!-- Namespace import -->
6+
<xs:import namespace="urn:CBI:xsd:CBISDDReqLogMsg.00.01.01" schemaLocation="CBISDDReqLogMsg.00.01.01.xsd"/>
7+
<xs:import namespace="urn:CBI:xsd:CBISgnInf.001.04" schemaLocation="CBISgnInf.001.04.xsd"/>
8+
<xs:element name="CBIBdySDDReq" type="CBIBdySDDReq.00.01.01"/>
9+
<!-- Message Body structure definition -->
10+
<xs:complexType name="CBIBdySDDReq.00.01.01">
11+
<xs:sequence>
12+
<xs:element name="PhyMsgInf" type="PhysicalMsgInfoType">
13+
<xs:annotation>
14+
<xs:documentation>1.3.1. - Informazioni generali sul messaggio fisico</xs:documentation>
15+
</xs:annotation>
16+
</xs:element>
17+
<xs:element name="CBIEnvelSDDReqLogMsg" type="CBIEnvelSDDLogMsg.00.01.01" maxOccurs="unbounded">
18+
<xs:annotation>
19+
<xs:documentation>1.3.2. - Blocco contenente il messaggio logico CBI. E' strutturato per poter contenere anche la firma digitale secondo le regole riportate nel documento FIRMA-MO-001. </xs:documentation>
20+
</xs:annotation>
21+
</xs:element>
22+
</xs:sequence>
23+
</xs:complexType>
24+
<xs:complexType name="CBIEnvelSDDLogMsg.00.01.01">
25+
<xs:choice>
26+
<xs:element name="CBISDDReqLogMsg" type="LMSG:CBISDDReqLogMsg.00.01.01">
27+
<xs:annotation>
28+
<xs:documentation>1.3.2.1. - Messaggio logico CBI di richiesta incasso SDD </xs:documentation>
29+
</xs:annotation>
30+
</xs:element>
31+
<!--xs:element name="CBISgnInf" type="SGNT:CBISgnInf.001.04">
32+
<xs:annotation>
33+
<xs:documentation>1.3.2.2. - Blocco contenente la firma digitale secondo le specifiche CBI</xs:documentation>
34+
</xs:annotation>
35+
</xs:element-->
36+
</xs:choice>
37+
</xs:complexType>
38+
<xs:complexType name="PhysicalMsgInfoType">
39+
<xs:sequence>
40+
<xs:element name="PhyMsgTpCd">
41+
<xs:annotation>
42+
<xs:documentation>1.3.1.1 - Tipologia di messaggio fisico, espressa in forma codificata</xs:documentation>
43+
</xs:annotation>
44+
<xs:simpleType>
45+
<xs:restriction base="xs:string">
46+
<xs:enumeration value="INC-SDDC-01"/>
47+
<xs:enumeration value="INC-SDDB-01"/>
48+
</xs:restriction>
49+
</xs:simpleType>
50+
</xs:element>
51+
<xs:element name="NbOfLogMsg" type="xs:positiveInteger">
52+
<xs:annotation>
53+
<xs:documentation>1.3.1.2 - Indica il numero di messaggi logici contenuti nel messaggio fisico. Deve coincidere con il numero dei blocchi 1.3.2.</xs:documentation>
54+
</xs:annotation>
55+
</xs:element>
56+
</xs:sequence>
57+
</xs:complexType>
58+
<xs:complexType name="OrgnlPhyMsgInfAndStsType">
59+
<xs:sequence>
60+
<xs:element name="IdE2EMsg">
61+
<xs:annotation>
62+
<xs:documentation>IdE2E presente nell'header di servizio del messaggio fisico referenziato </xs:documentation>
63+
</xs:annotation>
64+
</xs:element>
65+
<xs:element name="XMLCreDt">
66+
<xs:annotation>
67+
<xs:documentation>XMLCreDt presente nell'header di servizio del messaggio fisico referenziato </xs:documentation>
68+
</xs:annotation>
69+
</xs:element>
70+
<xs:element name="Status" type="StatusType">
71+
<xs:annotation>
72+
<xs:documentation>Riporta informazioni circa lo stato del messaggio fisico referenziato</xs:documentation>
73+
</xs:annotation>
74+
</xs:element>
75+
</xs:sequence>
76+
</xs:complexType>
77+
<xs:complexType name="StatusType">
78+
<xs:choice>
79+
<xs:element name="StsOK" type="xs:string"/>
80+
<xs:sequence>
81+
<xs:element name="StsKO" type="xs:string"/>
82+
<xs:element name="ErrorDescr" type="Max256Text"/>
83+
<xs:element name="ElmNm" type="Max256Text" minOccurs="0"/>
84+
</xs:sequence>
85+
</xs:choice>
86+
</xs:complexType>
87+
<xs:simpleType name="Max256Text">
88+
<xs:restriction base="xs:string">
89+
<xs:minLength value="1"/>
90+
<xs:maxLength value="256"/>
91+
</xs:restriction>
92+
</xs:simpleType>
93+
</xs:schema>

0 commit comments

Comments
 (0)