[FIX]Account Bank Statement Import CCoop : line acc num

Line account number should not be main partner one
This commit is contained in:
Fabien BOURGEOIS 2018-12-11 12:33:28 +01:00
parent 68d119b7b0
commit 2d383c2eb4
2 changed files with 1 additions and 2 deletions

View File

@ -22,7 +22,7 @@
* For CSV published by Crédit Coopératif on their website customer space ; * For CSV published by Crédit Coopératif on their website customer space ;
* Adds option on bank import statement wizard ; * Adds option on bank import statement wizard ;
* Checks and processes file.""", * Checks and processes file.""",
'version': '10.0.0.1.2', 'version': '10.0.0.1.3',
'category': 'Banking addons', 'category': 'Banking addons',
'author': 'Fabien Bourgeois', 'author': 'Fabien Bourgeois',
'license': 'AGPL-3', 'license': 'AGPL-3',

View File

@ -58,7 +58,6 @@ class AccountBankStatementImport(models.TransientModel):
time.strptime(line[0], '%d/%m/%y')), time.strptime(line[0], '%d/%m/%y')),
'amount': str2float(line[3] or line[4]), 'amount': str2float(line[3] or line[4]),
'unique_import_id': line[1], 'unique_import_id': line[1],
'account_number': account_number,
'note': line[5], 'note': line[5],
'ref': line[1]} 'ref': line[1]}