forked from OCA/bank-payment
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] account_banking_mandate, spliting functionality in two modules
- Loading branch information
1 parent
f794a7a
commit 6f84c60
Showing
17 changed files
with
1,396 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,22 @@ | ||
# -*- encoding: utf-8 -*- | ||
############################################################################## | ||
# | ||
# Mandate module for openERP | ||
# Copyright (C) 2014 Compassion CH (http://www.compassion.ch) | ||
# @author: Cyril Sester <[email protected]> | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as | ||
# published by the Free Software Foundation, either version 3 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
############################################################################## | ||
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,59 @@ | ||
# -*- encoding: utf-8 -*- | ||
############################################################################## | ||
# | ||
# Mandate module for openERP | ||
# Copyright (C) 2014 Compassion CH (http://www.compassion.ch) | ||
# @author: Cyril Sester <[email protected]>, | ||
# Alexis de Lattre <[email protected]> | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as | ||
# published by the Free Software Foundation, either version 3 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
############################################################################## | ||
{ | ||
'name': 'Account Banking Mandate', | ||
'summary': 'Banking mandates', | ||
'version': '8.0.0.1.0', | ||
'license': 'AGPL-3', | ||
'author': "Compassion CH, " | ||
"Serv. Tecnol. Avanzados - Pedro M. Baeza, " | ||
"Akretion, " | ||
"Odoo Community Association (OCA)", | ||
'website': 'https://github.com/OCA/bank-payment', | ||
'category': 'Banking addons', | ||
'depends': [ | ||
'account_payment', | ||
], | ||
'data': [ | ||
'views/account_banking_mandate_view.xml', | ||
'views/account_invoice_view.xml', | ||
'views/account_payment_view.xml', | ||
'views/res_partner_bank_view.xml', | ||
'data/mandate_reference_sequence.xml', | ||
'security/ir.model.access.csv', | ||
], | ||
'demo': [], | ||
'test': ['test/banking_mandate.yml'], | ||
'description': ''' | ||
This module adds a generic model for banking mandates. | ||
These mandates can be specialized to fit any banking mandates (such as | ||
sepa or lsv). | ||
A banking mandate is attached to a bank account and represents an | ||
authorization that the bank account owner gives to a company for a | ||
specific operation (such as direct debit). | ||
You can setup mandates from the accounting menu or directly from a bank | ||
account. | ||
''', | ||
'installable': True, | ||
} |
20 changes: 20 additions & 0 deletions
20
account_banking_mandate/data/mandate_reference_sequence.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,20 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data noupdate="1"> | ||
|
||
|
||
<record id="dd_mandate_seq_type" model="ir.sequence.type"> | ||
<field name="name">DD Mandate Reference</field> | ||
<field name="code">account.banking.mandate</field> | ||
</record> | ||
|
||
<record id="dd_mandate_seq" model="ir.sequence"> | ||
<field name="name">DD Mandate Reference</field> | ||
<field name="code">account.banking.mandate</field> | ||
<field name="prefix">BM</field> | ||
<field name="padding" eval="7"/> | ||
</record> | ||
|
||
|
||
</data> | ||
</openerp> |
Oops, something went wrong.