Browse Source

[MIG] account_bank_statement_import_camt 10.0

pull/158/head
Stefan Rijnhart 8 years ago
committed by Maxence Groine
parent
commit
fe667614ee
  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. 26
      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).
{
'name': 'CAMT Format Bank Statements Import',
'version': '9.0.1.0.0',
'version': '10.0.1.0.0',
'license': 'AGPL-3',
'author': 'Odoo Community Association (OCA), Therp BV',
'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 StringIO
import zipfile
from openerp import api, models
from odoo import api, models
from ..camt import CamtParser as Parser
_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>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
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):

26
account_bank_statement_import_camt/views/account_bank_statement_import.xml

@ -1,15 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record id="account_bank_statement_import_view" model="ir.ui.view">
<field name="model">account.bank.statement.import</field>
<field name="inherit_id" ref="account_bank_statement_import.account_bank_statement_import_view" />
<field name="arch" type="xml">
<ul id="statement_format" position="inside">
<li>CAMT</li>
<li>zipped CAMT</li>
</ul>
</field>
</record>
</data>
</openerp>
<odoo>
<record id="account_bank_statement_import_view" model="ir.ui.view">
<field name="model">account.bank.statement.import</field>
<field name="inherit_id" ref="account_bank_statement_import.account_bank_statement_import_view" />
<field name="arch" type="xml">
<ul id="statement_format" position="inside">
<li>CAMT</li>
<li>zipped CAMT</li>
</ul>
</field>
</record>
</odoo>
Loading…
Cancel
Save