diff --git a/account_bank_statement_import/account_bank_statement_import.py b/account_bank_statement_import/account_bank_statement_import.py index 7b7b6a2..d12e23c 100644 --- a/account_bank_statement_import/account_bank_statement_import.py +++ b/account_bank_statement_import/account_bank_statement_import.py @@ -158,10 +158,13 @@ class account_bank_statement_import(osv.TransientModel): # If there is no journal, create one (and its account) # I think it's too dangerous, so I disable that code by default -- Alexis de Lattre + """ + # -- Totally disabled, Ronald Portier if context.get('allow_auto_create_journal') and not journal_id and account_number: journal_id = self._create_journal(cr, uid, currency_id, account_number, context=context) if bank_account_id: bank_pool.write(cr, uid, [bank_account_id], {'journal_id': journal_id}, context=context) + """ # If we couldn't find/create a journal, everything is lost if not journal_id: diff --git a/account_bank_statement_import_ofx/__openerp__.py b/account_bank_statement_import_ofx/__openerp__.py index 8d2d4ee..8a10b59 100644 --- a/account_bank_statement_import_ofx/__openerp__.py +++ b/account_bank_statement_import_ofx/__openerp__.py @@ -25,7 +25,9 @@ base account_bank_statement_import module has been imported, or manually create periods for the year 2013. """, 'data' : [], - 'demo': [], + 'demo': [ + 'demo/demo_data.xml', + ], 'auto_install': False, 'installable': True, } diff --git a/account_bank_statement_import_ofx/demo/demo_data.xml b/account_bank_statement_import_ofx/demo/demo_data.xml new file mode 100644 index 0000000..8387f27 --- /dev/null +++ b/account_bank_statement_import_ofx/demo/demo_data.xml @@ -0,0 +1,27 @@ + + + + + + Bank Journal - (test ofx) + TBNKOFX + bank + + + + + + + + + Your Company + 123456 + + + + bank + + + + +