From d5294d49b298c72dc27d80dee21dff17fd07c246 Mon Sep 17 00:00:00 2001 From: Samir GUESMI Date: Tue, 18 Aug 2026 08:51:53 +0200 Subject: [PATCH] [19.0][FIX] report_async: invalidate ORM cache after raw SQL update of create_uid --- report_async/models/report_async.py | 1 + 1 file changed, 1 insertion(+) diff --git a/report_async/models/report_async.py b/report_async/models/report_async.py index 0d56cba049..fa9c062524 100644 --- a/report_async/models/report_async.py +++ b/report_async/models/report_async.py @@ -164,6 +164,7 @@ def run_report(self, docids, data, report_id, user_id): WHERE id = %s""", (self.env.uid, self.env.uid, attachment.id), ) + attachment.invalidate_recordset(["create_uid", "write_uid"]) # Send email if self.email_notify: self._send_email(attachment)