Browse Source

[FIX] tests

pull/201/head
Holger Brunn 8 years ago
committed by George Daramouskas
parent
commit
29cfc2ee1a
No known key found for this signature in database GPG Key ID: 5B4EF742F8CD859C
  1. 7
      account_bank_statement_import_auto_reconcile/tests/test_account_bank_statement_import_auto_reconcile.py

7
account_bank_statement_import_auto_reconcile/tests/test_account_bank_statement_import_auto_reconcile.py

@ -27,20 +27,21 @@ class TestAccountBankStatementImportAutoReconcile(TransactionCase):
return [
{
'currency_code': self.invoice.company_id.currency_id.name,
'account_number':
self.invoice.partner_id.bank_ids[:1].acc_number,
'account_number': False,
'name': 'Auto reconcile test',
'date': fields.Date.to_string(
fields.Date.from_string(date) + timedelta(days=5)
),
'transactions': [
{
'name': 'testtransaction',
'name': self.invoice.number,
'date': fields.Date.to_string(
fields.Date.from_string(date) + timedelta(days=5)
),
'amount': self.invoice.residual,
'unique_import_id': '42',
'account_number':
self.invoice.partner_id.bank_ids[:1].acc_number,
},
],
},

Loading…
Cancel
Save