Noviat / account_ebics

10 stars 21 forks source link

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

Open BT-ssteiner opened 1 year ago

BT-ssteiner commented 1 year ago

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 commented 1 year ago

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