Browse Source

[IMP] rename bank_statement_parse_ to account_bank_statement_import_

Move parserlib to account_bank_statement_import and remove bank_statement_parse module
pull/15/head^2
Stéphane Bidoul 9 years ago
parent
commit
43b8298eee
  1. 0
      account_bank_statement_import/parserlib.py
  2. 0
      account_bank_statement_import_camt/README.rst
  3. 0
      account_bank_statement_import_camt/__init__.py
  4. 1
      account_bank_statement_import_camt/__openerp__.py
  5. 0
      account_bank_statement_import_camt/account_bank_statement_import.py
  6. 2
      account_bank_statement_import_camt/camt.py
  7. 0
      account_bank_statement_import_camt/demo/demo_data.xml
  8. 0
      account_bank_statement_import_camt/test_files/test-camt053.xml
  9. 0
      account_bank_statement_import_camt/tests/__init__.py
  10. 2
      account_bank_statement_import_camt/tests/test_import_bank_statement.py
  11. 0
      account_bank_statement_import_mt940_base/README.rst
  12. 0
      account_bank_statement_import_mt940_base/__init__.py
  13. 1
      account_bank_statement_import_mt940_base/__openerp__.py
  14. 2
      account_bank_statement_import_mt940_base/mt940.py
  15. 0
      account_bank_statement_import_mt940_nl_ing/README.rst
  16. 0
      account_bank_statement_import_mt940_nl_ing/__init__.py
  17. 2
      account_bank_statement_import_mt940_nl_ing/__openerp__.py
  18. 0
      account_bank_statement_import_mt940_nl_ing/account_bank_statement_import.py
  19. 0
      account_bank_statement_import_mt940_nl_ing/demo/demo_data.xml
  20. 2
      account_bank_statement_import_mt940_nl_ing/mt940.py
  21. 0
      account_bank_statement_import_mt940_nl_ing/test_files/test-ing-old.940
  22. 0
      account_bank_statement_import_mt940_nl_ing/test_files/test-ing.940
  23. 0
      account_bank_statement_import_mt940_nl_ing/tests/__init__.py
  24. 4
      account_bank_statement_import_mt940_nl_ing/tests/test_import_bank_statement.py
  25. 0
      account_bank_statement_import_mt940_nl_rabo/README.rst
  26. 0
      account_bank_statement_import_mt940_nl_rabo/__init__.py
  27. 2
      account_bank_statement_import_mt940_nl_rabo/__openerp__.py
  28. 0
      account_bank_statement_import_mt940_nl_rabo/account_bank_statement_import.py
  29. 2
      account_bank_statement_import_mt940_nl_rabo/mt940.py
  30. 0
      account_bank_statement_import_mt940_nl_rabo/test_files/test-rabo.swi
  31. 0
      account_bank_statement_import_mt940_nl_rabo/tests/__init__.py
  32. 2
      account_bank_statement_import_mt940_nl_rabo/tests/test_import_bank_statement.py
  33. 49
      bank_statement_parse/README.rst
  34. 27
      bank_statement_parse/__init__.py
  35. 29
      bank_statement_parse/__openerp__.py

0
bank_statement_parse/parserlib.py → account_bank_statement_import/parserlib.py

0
bank_statement_parse_camt/README.rst → account_bank_statement_import_camt/README.rst

0
bank_statement_parse_camt/__init__.py → account_bank_statement_import_camt/__init__.py

1
bank_statement_parse_camt/__openerp__.py → account_bank_statement_import_camt/__openerp__.py

@ -26,7 +26,6 @@
'category': 'Banking addons',
'depends': [
'account_bank_statement_import',
'bank_statement_parse',
],
'demo': [
'demo/demo_data.xml',

0
bank_statement_parse_camt/account_bank_statement_import.py → account_bank_statement_import_camt/account_bank_statement_import.py

2
bank_statement_parse_camt/camt.py → account_bank_statement_import_camt/camt.py

@ -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):

0
bank_statement_parse_camt/demo/demo_data.xml → account_bank_statement_import_camt/demo/demo_data.xml

0
bank_statement_parse_camt/test_files/test-camt053.xml → account_bank_statement_import_camt/test_files/test-camt053.xml

0
bank_statement_parse_camt/tests/__init__.py → account_bank_statement_import_camt/tests/__init__.py

2
bank_statement_parse_camt/tests/test_import_bank_statement.py → account_bank_statement_import_camt/tests/test_import_bank_statement.py

@ -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,

0
bank_statement_parse_mt940/README.rst → account_bank_statement_import_mt940_base/README.rst

0
bank_statement_parse_mt940/__init__.py → account_bank_statement_import_mt940_base/__init__.py

1
bank_statement_parse_mt940/__openerp__.py → account_bank_statement_import_mt940_base/__openerp__.py

@ -26,7 +26,6 @@
'category': 'Banking addons',
'depends': [
'account_bank_statement_import',
'bank_statement_parse',
],
'installable': True
}

2
bank_statement_parse_mt940/mt940.py → account_bank_statement_import_mt940_base/mt940.py

@ -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):

0
bank_statement_parse_nl_ing_mt940/README.rst → account_bank_statement_import_mt940_nl_ing/README.rst

0
bank_statement_parse_nl_ing_mt940/__init__.py → account_bank_statement_import_mt940_nl_ing/__init__.py

2
bank_statement_parse_nl_ing_mt940/__openerp__.py → account_bank_statement_import_mt940_nl_ing/__openerp__.py

@ -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',

0
bank_statement_parse_nl_ing_mt940/account_bank_statement_import.py → account_bank_statement_import_mt940_nl_ing/account_bank_statement_import.py

0
bank_statement_parse_nl_ing_mt940/demo/demo_data.xml → account_bank_statement_import_mt940_nl_ing/demo/demo_data.xml

2
bank_statement_parse_nl_ing_mt940/mt940.py → account_bank_statement_import_mt940_nl_ing/mt940.py

@ -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)

0
bank_statement_parse_nl_ing_mt940/test_files/test-ing-old.940 → account_bank_statement_import_mt940_nl_ing/test_files/test-ing-old.940

0
bank_statement_parse_nl_ing_mt940/test_files/test-ing.940 → account_bank_statement_import_mt940_nl_ing/test_files/test-ing.940

0
bank_statement_parse_nl_ing_mt940/tests/__init__.py → account_bank_statement_import_mt940_nl_ing/tests/__init__.py

4
bank_statement_parse_nl_ing_mt940/tests/test_import_bank_statement.py → account_bank_statement_import_mt940_nl_ing/tests/test_import_bank_statement.py

@ -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

0
bank_statement_parse_nl_rabo_mt940/README.rst → account_bank_statement_import_mt940_nl_rabo/README.rst

0
bank_statement_parse_nl_rabo_mt940/__init__.py → account_bank_statement_import_mt940_nl_rabo/__init__.py

2
bank_statement_parse_nl_rabo_mt940/__openerp__.py → account_bank_statement_import_mt940_nl_rabo/__openerp__.py

@ -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,

0
bank_statement_parse_nl_rabo_mt940/account_bank_statement_import.py → account_bank_statement_import_mt940_nl_rabo/account_bank_statement_import.py

2
bank_statement_parse_nl_rabo_mt940/mt940.py → account_bank_statement_import_mt940_nl_rabo/mt940.py

@ -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)

0
bank_statement_parse_nl_rabo_mt940/test_files/test-rabo.swi → account_bank_statement_import_mt940_nl_rabo/test_files/test-rabo.swi

0
bank_statement_parse_nl_rabo_mt940/tests/__init__.py → account_bank_statement_import_mt940_nl_rabo/tests/__init__.py

2
bank_statement_parse_nl_rabo_mt940/tests/test_import_bank_statement.py → account_bank_statement_import_mt940_nl_rabo/tests/test_import_bank_statement.py

@ -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,

49
bank_statement_parse/README.rst

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

27
bank_statement_parse/__init__.py

@ -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

29
bank_statement_parse/__openerp__.py

@ -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,
}
Loading…
Cancel
Save