mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Merge pull request #39 from acsone/7.0-mt940-no-footer-sbi
[IMP] support MT940 without footer record at end of file
This commit is contained in:
@@ -101,6 +101,12 @@ class MT940(object):
|
||||
record_line = line
|
||||
except StopIteration:
|
||||
pass
|
||||
if self.current_statement:
|
||||
if record_line:
|
||||
self.handle_record(cr, record_line)
|
||||
record_line = ''
|
||||
self.statements.append(self.current_statement)
|
||||
self.current_statement = None
|
||||
return self.statements
|
||||
|
||||
def append_continuation_line(self, cr, line, continuation_line):
|
||||
|
||||
Reference in New Issue
Block a user