Browse Source

[MIG] account_bank_statement_import_camt 10.0

pull/84/head
Stefan Rijnhart 8 years ago
parent
commit
2ddb8b114e
  1. 2
      account_bank_statement_import_camt/__manifest__.py
  2. 2
      account_bank_statement_import_camt/models/account_bank_statement_import.py
  3. 4
      account_bank_statement_import_camt/tests/test_import_bank_statement.py
  4. 6
      account_bank_statement_import_camt/views/account_bank_statement_import.xml

2
account_bank_statement_import_camt/__manifest__.py

@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{ {
'name': 'CAMT Format Bank Statements Import', 'name': 'CAMT Format Bank Statements Import',
'version': '9.0.1.0.0',
'version': '10.0.1.0.0',
'license': 'AGPL-3', 'license': 'AGPL-3',
'author': 'Odoo Community Association (OCA), Therp BV', 'author': 'Odoo Community Association (OCA), Therp BV',
'website': 'https://github.com/OCA/bank-statement-import', 'website': 'https://github.com/OCA/bank-statement-import',

2
account_bank_statement_import_camt/models/account_bank_statement_import.py

@ -5,7 +5,7 @@
import logging import logging
import StringIO import StringIO
import zipfile import zipfile
from openerp import api, models
from odoo import api, models
from ..camt import CamtParser as Parser from ..camt import CamtParser as Parser
_logger = logging.getLogger(__name__) _logger = logging.getLogger(__name__)

4
account_bank_statement_import_camt/tests/test_import_bank_statement.py

@ -3,8 +3,8 @@
# © 2013-2016 Therp BV <http://therp.nl> # © 2013-2016 Therp BV <http://therp.nl>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import base64 import base64
from openerp.tests.common import TransactionCase
from openerp.tools.misc import file_open
from odoo.tests.common import TransactionCase
from odoo.tools.misc import file_open
class TestImport(TransactionCase): class TestImport(TransactionCase):

6
account_bank_statement_import_camt/views/account_bank_statement_import.xml

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<odoo>
<record id="account_bank_statement_import_view" model="ir.ui.view"> <record id="account_bank_statement_import_view" model="ir.ui.view">
<field name="model">account.bank.statement.import</field> <field name="model">account.bank.statement.import</field>
<field name="inherit_id" ref="account_bank_statement_import.account_bank_statement_import_view" /> <field name="inherit_id" ref="account_bank_statement_import.account_bank_statement_import_view" />
@ -11,5 +10,4 @@
</ul> </ul>
</field> </field>
</record> </record>
</data>
</openerp>
</odoo>
Loading…
Cancel
Save