changeset 4a2e2516733f in modules/account_statement:default
details:
https://hg.tryton.org/modules/account_statement?cmd=changeset&node=4a2e2516733f
description:
Clear the file content once the statement is imported
issue10555
review336571002
diffstat:
statement.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r d9b190ad6183 -r 4a2e2516733f statement.py
--- a/statement.py Sun Jul 04 17:54:46 2021 +0200
+++ b/statement.py Thu Jul 22 00:09:08 2021 +0200
@@ -1198,6 +1198,7 @@
for statement in statements:
statement.origin_file = fields.Binary.cast(self.start.file_)
Statement.save(statements)
+ self.start.file_ = None
data = {'res_id': list(map(int, statements))}
if len(statements) == 1: