-
-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCA bank import (V17) error: Bad file/mapping: 'Amount' is not in list when 'Distinct debit/credit' selected #717
Comments
@StuartJMackintosh can you provide a statement bank file for testing in runboat and maybe an screencast to validate this? have you been able to reproduce it on runboat? |
No, and have not previously used runboat. Can you point me to instructions, then I will provide sample file and screen recording. |
|
Thanks @rrebollo - Runboat looks straight forward - will post back here when I have anonymized a statement and tested it. |
Report: Bad file/mapping: 'Amount' is not in list CSV file (anonymised): |
@StuartJMackintosh I was able to reproduce the issue. I'm dropping the technical traceback for the error here. I'll analyze the case with these new elements and might come back with a fix.
|
Thank you. You might be interested in this: https://github.com/kedder/ofxstatement |
Module
OCA/bank-statement-import (V17)
Describe the bug
'Amount' is not in list when 'Distinct debit/credit' selected and no Amount column.
To Reproduce
Create a bank statement file that has distinct debit/credit columns, load and an error is generated
Add a new column 'Amount' which is sum(+debit-credit) and the file loads.
The error suggests that the Amount column is not included however this shouldn't be required as I have set separate debit/credit columns which suggests that Amount is hardcoded somewhere
Expected behavior
I expect that the amount is calculated from debit/credit when this option is selected.
The text was updated successfully, but these errors were encountered: