mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[FIX] Solving pylint/flake and test errors.
Also added dutch translation.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
<record id="mt940_ing_company_bank" model="res.partner.bank">
|
||||
<field name="owner_name">Your Company</field>
|
||||
<field name="acc_number">NL77ABNA0574908765</field>
|
||||
<field name="acc_number">NL77INGB0574908765</field>
|
||||
<field name="partner_id" ref="base.partner_root"></field>
|
||||
<field name="company_id" ref="base.main_company"></field>
|
||||
<field name="journal_id" ref="mt940_ing_bank_journal"></field>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{2:I940INGBNL2AXXXN}
|
||||
{4:
|
||||
:20:P140220000000001
|
||||
:25:NL77ABNA0574908765EUR
|
||||
:25:NL77INGB0574908765EUR
|
||||
:28C:0000
|
||||
0
|
||||
:60F:C140219EUR662,23
|
||||
|
||||
@@ -50,7 +50,7 @@ class TestStatementFile(TransactionCase):
|
||||
import_model.import_file(cr, uid, [bank_statement_id])
|
||||
# statement name is account number + '-' + date of last 62F line:
|
||||
ids = statement_model.search(
|
||||
cr, uid, [('name', '=', 'NL77ABNA0574908765-2014-02-20')])
|
||||
cr, uid, [('name', '=', 'NL77INGB0574908765-2014-02-20')])
|
||||
self.assertTrue(ids, 'Statement not found after parse.')
|
||||
statement_id = ids[0]
|
||||
statement_obj = statement_model.browse(
|
||||
|
||||
Reference in New Issue
Block a user