Skip to content
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

Open
StuartJMackintosh opened this issue Sep 2, 2024 · 0 comments
Labels

Comments

@StuartJMackintosh
Copy link
Member

Module

OCA/bank-statement-import (V17)

Describe the bug

'Amount' is not in list when 'Distinct debit/credit' selected and no Amount column.

image

To Reproduce

Create a bank statement file that has distinct debit/credit columns, load and an error is generated

image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant