Error on importing ING bank statements
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Banking Addons |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I configured OpenERP with Account Banking + ING (NL) bank Statements Import. I was able to import a few bank statements, but after the latest update of Account Banking, I receive the following error after starting the import:
DataError: invalid input syntax for type date: ""
LINE 1: ...e_uid,
The first value (I assume create_date_uid), is sequentially rising after each attempt.
I use the 'komma gescheiden dd-mm-jjjj' format, but this also happened while using 'komma gescheiden jjjjmmdd' and 'Girotel kommagescheiden'.
I tried to reinstall the add-on, this to no success.
The CSV files contain the right data. (i.e. it has the same structure as the previous files, which I could successfully import).
When I remove the bank account from the standard settings (Finance > Settings > Banking > Standard settings), the import add-on reports that the csv file contains bank statements for account ING *******, but that there is no bank account defined in the standard settings.
Attached you will find the complete error message/error log.
From the fact that it happened after an update, I reckon it's due to rev. 241, which changes some date fields around. My first question is, "which bazaar revision are you running", but I'm guessing you installed from the apps menu with which I have no experience. I'm also guessing that the apps menu indicated that account_banking was upgradable because its version number was increased.
Now, the code in the ing module was changed accordingly but I did not increase that module's version number because there was no database scheme changed involved in that module. It could be that the apps menu therefore does not give you access to the required, latest version of the module (even if you 'reinstall' the addon).
Then again, the exact error message does not directly support my guesses. These database query error messages are always truncated, which is nothing you can help but it makes it difficult to find the actual problem.
My first suggestion would be for you to try out account_ banking_ nl_ing_ mt940 instead, at least if you can get mt940 statements for your bank account. I'd very much like to retire the old csv module now that we have an mt940 one.