mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[IMP] rename bank_statement_parse_ to account_bank_statement_import_
Move parserlib to account_bank_statement_import and remove bank_statement_parse module
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
'category': 'Banking addons',
|
||||
'depends': [
|
||||
'account_bank_statement_import',
|
||||
'bank_statement_parse',
|
||||
],
|
||||
'demo': [
|
||||
'demo/demo_data.xml',
|
||||
@@ -21,7 +21,7 @@
|
||||
import re
|
||||
from datetime import datetime
|
||||
from lxml import etree
|
||||
from openerp.addons.bank_statement_parse.parserlib import BankStatement
|
||||
from openerp.addons.account_bank_statement_import.parserlib import BankStatement
|
||||
|
||||
|
||||
class CamtParser(object):
|
||||
@@ -37,7 +37,7 @@ class TestImport(TestStatementFile):
|
||||
]
|
||||
# statement name is account number + '-' + date of last 62F line:
|
||||
self._test_statement_import(
|
||||
'bank_statement_parse_camt', 'test-camt053.xml',
|
||||
'account_bank_statement_import_camt', 'test-camt053.xml',
|
||||
'1234Test/1',
|
||||
local_account='NL77ABNA0574908765',
|
||||
start_balance=15568.27, end_balance=15121.12,
|
||||
@@ -26,7 +26,6 @@
|
||||
'category': 'Banking addons',
|
||||
'depends': [
|
||||
'account_bank_statement_import',
|
||||
'bank_statement_parse',
|
||||
],
|
||||
'installable': True
|
||||
}
|
||||
@@ -22,7 +22,7 @@ import re
|
||||
import logging
|
||||
from datetime import datetime
|
||||
|
||||
from openerp.addons.bank_statement_parse.parserlib import BankStatement
|
||||
from openerp.addons.account_bank_statement_import.parserlib import BankStatement
|
||||
|
||||
|
||||
def str2amount(sign, amount_str):
|
||||
@@ -25,7 +25,7 @@
|
||||
'website': 'https://github.com/OCA/bank-statement-import',
|
||||
'category': 'Banking addons',
|
||||
'depends': [
|
||||
'bank_statement_parse_mt940'
|
||||
'account_bank_statement_import_mt940_base'
|
||||
],
|
||||
'demo': [
|
||||
'demo/demo_data.xml',
|
||||
@@ -19,7 +19,7 @@
|
||||
#
|
||||
##############################################################################
|
||||
import re
|
||||
from openerp.addons.bank_statement_parse_mt940.mt940 import (
|
||||
from openerp.addons.account_bank_statement_import_mt940_base.mt940 import (
|
||||
MT940, str2amount, get_subfields, handle_common_subfields)
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ class TestImport(TestStatementFile):
|
||||
def test_old_statement_import(self):
|
||||
"""Test correct creation of single statement from old format."""
|
||||
self._test_statement_import(
|
||||
'bank_statement_parse_nl_ing_mt940', 'test-ing-old.940',
|
||||
'account_bank_statement_import_mt940_nl_ing', 'test-ing-old.940',
|
||||
'NL77INGB0574908765-2014-01-20',
|
||||
start_balance=662.23, end_balance=564.35
|
||||
)
|
||||
@@ -46,7 +46,7 @@ class TestImport(TestStatementFile):
|
||||
},
|
||||
]
|
||||
self._test_statement_import(
|
||||
'bank_statement_parse_nl_ing_mt940', 'test-ing.940',
|
||||
'account_bank_statement_import_mt940_nl_ing', 'test-ing.940',
|
||||
'NL77INGB0574908765-2014-02-20',
|
||||
start_balance=662.23, end_balance=564.35,
|
||||
transactions=transactions
|
||||
@@ -24,7 +24,7 @@
|
||||
'website': 'https://github.com/OCA/bank-statement-import',
|
||||
'category': 'Banking addons',
|
||||
'depends': [
|
||||
'bank_statement_parse_mt940'
|
||||
'account_bank_statement_import_mt940_base'
|
||||
],
|
||||
'auto_install': False,
|
||||
'installable': True,
|
||||
@@ -20,7 +20,7 @@
|
||||
##############################################################################
|
||||
import re
|
||||
from string import printable
|
||||
from openerp.addons.bank_statement_parse_mt940.mt940 import (
|
||||
from openerp.addons.account_bank_statement_import_mt940_base.mt940 import (
|
||||
MT940, str2amount, get_subfields, handle_common_subfields)
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ class TestImport(TestStatementFile):
|
||||
]
|
||||
# statement name is account number + '-' + date of last 62F line:
|
||||
self._test_statement_import(
|
||||
'bank_statement_parse_nl_rabo_mt940', 'test-rabo.swi',
|
||||
'account_bank_statement_import_mt940_nl_rabo', 'test-rabo.swi',
|
||||
'NL34RABO0142623393-2014-01-07',
|
||||
local_account='NL34RABO0142623393',
|
||||
start_balance=4433.52, end_balance=4798.91,
|
||||
@@ -1,49 +0,0 @@
|
||||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
|
||||
:alt: License: AGPL-3
|
||||
|
||||
Bank Statement Parse
|
||||
====================
|
||||
|
||||
This module makes it easy to write parsers for bank statement files, by
|
||||
providing common functionality. The module is especially usefull for
|
||||
converting the parsers written for previous versions of OpenERp / Odoo.
|
||||
|
||||
Known issues / Roadmap
|
||||
======================
|
||||
|
||||
* None
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-statement-import/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
|
||||
`here <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_bank_statement_import%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
* Stefan Rijnhart <srijnhart@therp.nl>
|
||||
* Ronald Portier <rportier@therp.nl>
|
||||
|
||||
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 http://odoo-community.org.
|
||||
This module should make it easy to migrate bank statement import
|
||||
modules written for earlies versions of Odoo/OpenERP.
|
||||
@@ -1,27 +0,0 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
"""Classes and models to parse bank statements and import them into Odoo."""
|
||||
##############################################################################
|
||||
#
|
||||
# Copyright (C) 2014-2015 Therp BV <http://therp.nl>.
|
||||
#
|
||||
# WARNING: This program as such is intended to be used by professional
|
||||
# programmers who take the whole responsability of assessing all potential
|
||||
# consequences resulting from its eventual inadequacies and bugs
|
||||
# End users who are looking for a ready-to-use solution with commercial
|
||||
# garantees and support are strongly adviced to contract EduSense BV
|
||||
#
|
||||
# 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 parserlib
|
||||
@@ -1,29 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# Copyright (C) 2015 Therp BV <http://therp.nl>.
|
||||
#
|
||||
# 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': 'Bank Statement Import Parse',
|
||||
'version': '0.5',
|
||||
'license': 'AGPL-3',
|
||||
'author': 'Odoo Community Association (OCA), Therp BV',
|
||||
'website': 'https://github.com/OCA/bank-statement-import',
|
||||
'category': 'Banking addons',
|
||||
'installable': True,
|
||||
'auto_install': False,
|
||||
}
|
||||
Reference in New Issue
Block a user