[MIG] : Migration to 16.0

This commit is contained in:
Luc De Meyer
2022-12-23 11:46:48 +01:00
parent e5652af883
commit 691840beb1
3 changed files with 3 additions and 2 deletions

View File

@@ -177,6 +177,7 @@ class EbicsFile(models.Model):
if res_action.get("type") and res_action["type"] == "ir.actions.client":
st_line_ids = res_action["context"].get("statement_line_ids", [])
if st_line_ids:
##TODO: Use flush_model(), flush_recordset() or env.flush_all() ###########################
self.flush()
self.env.cr.execute(
"""