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

v15, raises an error, when the imported file is empty #107

Open
BT-ssteiner opened this issue Sep 19, 2023 · 1 comment
Open

v15, raises an error, when the imported file is empty #107

BT-ssteiner opened this issue Sep 19, 2023 · 1 comment

Comments

@BT-ssteiner
Copy link

account_ebics_oe_statement_import:

raises an uncaught error, when the imported file is empty

https://github.com/Noviat/account_ebics/blob/15.0/account_ebics_oe_statement_import/wizards/account_bank_statement_import.py#L58
There the method _create_bank_statements returns two values, but in the original/odoo core, three values are returned. Maybe just returning another [] would be enough.

@luc-demeyer
Copy link
Contributor

@BT-ssteiner
I'll make a fix for this.
Can you send me offline ([email protected]) the empty file so that I can reproduce the issue locally and text my fix.

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

No branches or pull requests

2 participants