Clear the file content once the statement is imported
issue10555 review336571002
This commit is contained in:
1 parent
0fa7c8dc5f
commit
185e6ecedc
1 file changed
+1
@@ -1198,6 +1198,7 @@ class ImportStatement(Wizard):
|
||||
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:
|
||||
|
||||
Reference in new issue
Block a user