mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] Ignore empty statements in CAMT.053 parser
This commit is contained in:
@@ -274,5 +274,7 @@ CAMT Format parser
|
||||
self.assert_tag(root[0][0], 'GrpHdr')
|
||||
statements = []
|
||||
for node in root[0][1:]:
|
||||
statements.append(self.parse_Stmt(cr, node))
|
||||
statement = self.parse_Stmt(cr, node)
|
||||
if len(statement.transactions):
|
||||
statements.append(statement)
|
||||
return statements
|
||||
|
||||
Reference in New Issue
Block a user