Tom
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 145 additions and 92 deletions
-
8account_bank_statement_import/parserlib.py
-
27account_bank_statement_import/tests/test_import_file.py
-
17account_bank_statement_import_camt/README.rst
-
3account_bank_statement_import_camt/__openerp__.py
-
17account_bank_statement_import_camt/i18n/nl.po
-
3account_bank_statement_import_camt/models/__init__.py
-
67account_bank_statement_import_camt/models/account_bank_statement_import.py
-
12account_bank_statement_import_camt/models/account_journal.py
-
28account_bank_statement_import_camt/models/parser.py
-
41account_bank_statement_import_camt/tests/test_import_bank_statement.py
-
14account_bank_statement_import_camt/views/account_journal.xml
@ -1,5 +1,6 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# © 2013-2016 Therp BV <http://therp.nl> |
|||
# Copyright 2013-2016 Therp BV <http://therp.nl> |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
from . import parser |
|||
from . import account_bank_statement_import |
|||
from . import account_journal |
@ -0,0 +1,12 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Copyright 2013-2016 Therp BV <http://therp.nl> |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|||
|
|||
from openerp import models, fields |
|||
|
|||
|
|||
class AccountJournal(models.Model): |
|||
_inherit = 'account.journal' |
|||
|
|||
camt_import_batch = fields.Boolean( |
|||
string='Aggregate batch transactions (CAMT)') |
@ -0,0 +1,14 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<openerp> |
|||
<data> |
|||
<record id="view_account_journal_form_camt" model="ir.ui.view"> |
|||
<field name="model">account.journal</field> |
|||
<field name="inherit_id" ref="account.view_account_journal_form" /> |
|||
<field name="arch" type="xml"> |
|||
<field name="sequence_id" position="after"> |
|||
<field name="camt_import_batch" attrs="{'invisible': [('type', '!=', 'bank')]}"/> |
|||
</field> |
|||
</field> |
|||
</record> |
|||
</data> |
|||
</openerp> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue