Skip to content

Commit

Permalink
Merge a813978 into 90b9cdc
Browse files Browse the repository at this point in the history
  • Loading branch information
Nooka10 committed Nov 21, 2019
2 parents 90b9cdc + a813978 commit 2e8249b
Show file tree
Hide file tree
Showing 20 changed files with 2,320 additions and 0 deletions.
66 changes: 66 additions & 0 deletions l10n_ch_pain_direct_debit/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

====================================
Switzerland - ISO 20022 direct debit
====================================

This module adds support for *pain.008.001.02.ch.03* which is used for ISO 20022 direct debits in Switzerland.

It implements the guidelines for `ISO 20022 direct debits <http://www.six-interbank-clearing.com/dam/downloads/en/standardization/iso/swiss-recommendations/implementation-guidelines-swiss-dd.pdf>`_ published by SIX Interbank Clearing.

Configuration
=============

In the menu *Accounting > Configuration > Management > Payment Methods*,
select the payment method that has the code *sepa_direct_debit* and
set the *PAIN Version* to *pain.008.001.02.ch.03 (direct debit in Switzerland)*.


Usage
=====

This module doesn't modify the standard usage of the modules
*account_payment_order* and *account_banking_sepa_direct_debit*.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/125/9.0

Known issues / Roadmap
======================

* There is still some work to be done to make a good ISO20022 direct debit file for switzerland that comply with the guidelines of SIX Interbank Clearing. That's why this module is not installable for the moment.


Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/l10n-switzerland/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.

Credits
=======

Contributors
------------

* Alexis de Lattre <alexis.delattre@akretion.com>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.
4 changes: 4 additions & 0 deletions l10n_ch_pain_direct_debit/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# (C) 2014 Cyril Sester <cyril.sester@outlook.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
29 changes: 29 additions & 0 deletions l10n_ch_pain_direct_debit/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# © 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# pylint: disable=C8101
{
"name": "Switzerland - PAIN Direct Debit",
"summary": "Generate ISO 20022 direct debits",
"version": "11.0.1.0.0",
"category": "Finance",
"author": "Akretion,Camptocamp,Compassion,Odoo Community Association(OCA)",
'website': 'http://www.compassion.ch,http://www.braintec-group.com',
"license": "AGPL-3",
"depends": [
"account_banking_sepa_direct_debit",
"l10n_ch_pain_base"
],
'data': [
'data/payment_type.xml',
'data/export_filename_sequence.xml',
'views/account_payment_line_view.xml',
'views/account_payment_mode_view.xml',
'views/account_payment_order_view.xml',
'views/bank_payment_line_view.xml'
],
'demo': [
'demo/dd_demo.yml'
],
'auto_install': False,
'installable': True,
}
1 change: 1 addition & 0 deletions l10n_ch_pain_direct_debit/data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The file `pain.008.001.02.ch.03.xsd`, containing the XSD for the pain.008.001.02.ch.03 payment file, was downloaded from https://www.six-interbank-clearing.com/en/home/standardization/iso-payments/customer-bank/implementation-guidelines.html#Swiss-direct-debits on 13th of February of 2017.
17 changes: 17 additions & 0 deletions l10n_ch_pain_direct_debit/data/export_filename_sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2014 Compassion (http://www.compassion.ch)
@author Cyril Sester <cyril.sester@outlook.com>
The licence is in the file __openerp__.py
-->
<odoo>
<data noupdate="1">

<record id="export_filename_seq" model="ir.sequence">
<field name="name">Swiss banking export filename</field>
<field name="code">l10n.banking.export.filename</field>
<field name="prefix"></field>
<field name="padding" eval="6"/>
</record>
</data>
</odoo>

0 comments on commit 2e8249b

Please sign in to comment.