Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][ADD] l10n_it_sdd_cbi: adding module for CBI SDD Italy #4480

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions l10n_it_sdd_cbi/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
=======================
ITA - SEPA Direct Debit
=======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:6bc737911a767ce7d4e92809a11ef7de5acedfd8abc2b2cc9a7c36f5e4523546
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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_sdd_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_sdd_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|

**Italiano**

Questo modulo consente di generare correttamente file CBI SDD Italy.

**English**

The module allows to use correctly generate the file CBI SDD Italy.

**Table of contents**

.. contents::
:local:

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_sdd_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
~~~~~~~

* Dinamiche Aziendali srl

Contributors
~~~~~~~~~~~~

* Giuseppe Borruso

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/l10n-italy <https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_sdd_cbi>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions l10n_it_sdd_cbi/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from .post_install import update_bank_journals
27 changes: 27 additions & 0 deletions l10n_it_sdd_cbi/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2024 Giuseppe Borruso - Dinamiche Aziendali srl
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "ITA - SEPA Direct Debit",
"version": "14.0.1.0.0",
"development_status": "Beta",
"category": "Localization/Italy",
"summary": "Create SEPA files for CBI SDD Italy",
"author": "Dinamiche Aziendali srl, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-italy",
"license": "AGPL-3",
"depends": [
"account_payment_order",
"account_banking_pain_base",
"account_banking_mandate",
"account_banking_sepa_direct_debit",
"l10n_it_abicab",
],
"data": [
"data/account_payment_method.xml",
"views/account_payment_order_view.xml",
"views/res_config_settings_view.xml",
],
"post_init_hook": "update_bank_journals",
"installable": True,
}
93 changes: 93 additions & 0 deletions l10n_it_sdd_cbi/data/CBIBdySDDReq.00.01.00.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<?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: 20/11/2016 -->
<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">
<!-- Namespace import -->
<xs:import namespace="urn:CBI:xsd:CBISDDReqLogMsg.00.01.00" schemaLocation="CBISDDReqLogMsg.00.01.00.xsd"/>
<!--xs:import namespace="urn:CBI:xsd:CBISgnInf.001.04" schemaLocation="CBISgnInf.001.04.xsd"/-->
<xs:element name="CBIBdySDDReq" type="CBIBdySDDReq.00.01.00"/>
<!-- Message Body structure definition -->
<xs:complexType name="CBIBdySDDReq.00.01.00">
<xs:sequence>
<xs:element name="PhyMsgInf" type="PhysicalMsgInfoType">
<xs:annotation>
<xs:documentation>1.3.1. - Informazioni generali sul messaggio fisico</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CBIEnvelSDDReqLogMsg" type="CBIEnvelSDDLogMsg.00.01.00" maxOccurs="unbounded">
<xs:annotation>
<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>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CBIEnvelSDDLogMsg.00.01.00">
<xs:choice>
<xs:element name="CBISDDReqLogMsg" type="LMSG:CBISDDReqLogMsg.00.01.00">
<xs:annotation>
<xs:documentation>1.3.2.1. - Messaggio logico CBI di richiesta incasso SDD </xs:documentation>
</xs:annotation>
</xs:element>
<!--xs:element name="CBISgnInf" type="SGNT:CBISgnInf.001.04">
<xs:annotation>
<xs:documentation>1.3.2.2. - Blocco contenente la firma digitale secondo le specifiche CBI</xs:documentation>
</xs:annotation>
</xs:element-->
</xs:choice>
</xs:complexType>
<xs:complexType name="PhysicalMsgInfoType">
<xs:sequence>
<xs:element name="PhyMsgTpCd">
<xs:annotation>
<xs:documentation>1.3.1.1 - Tipologia di messaggio fisico, espressa in forma codificata</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="INC-SDDC-01"/>
<xs:enumeration value="INC-SDDB-01"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NbOfLogMsg" type="xs:positiveInteger">
<xs:annotation>
<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>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="OrgnlPhyMsgInfAndStsType">
<xs:sequence>
<xs:element name="IdE2EMsg">
<xs:annotation>
<xs:documentation>IdE2E presente nell'header di servizio del messaggio fisico referenziato </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="XMLCreDt">
<xs:annotation>
<xs:documentation>XMLCreDt presente nell'header di servizio del messaggio fisico referenziato </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Status" type="StatusType">
<xs:annotation>
<xs:documentation>Riporta informazioni circa lo stato del messaggio fisico referenziato</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="StatusType">
<xs:choice>
<xs:element name="StsOK" type="xs:string"/>
<xs:sequence>
<xs:element name="StsKO" type="xs:string"/>
<xs:element name="ErrorDescr" type="Max256Text"/>
<xs:element name="ElmNm" type="Max256Text" minOccurs="0"/>
</xs:sequence>
</xs:choice>
</xs:complexType>
<xs:simpleType name="Max256Text">
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="256"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
Loading
Loading