From 1f769d862c7aa0b8055ad8ed7c9d1adf2bc8068f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quentin=20Lavall=C3=A9e-Bourdeau?= Date: Thu, 9 Oct 2025 09:25:27 -0400 Subject: [PATCH] TA#79461 [18.0] Disable automatic attachment migration for new installations --- base_attachment_object_storage/models/ir_attachment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_attachment_object_storage/models/ir_attachment.py b/base_attachment_object_storage/models/ir_attachment.py index 6de6ab93..4af219e5 100644 --- a/base_attachment_object_storage/models/ir_attachment.py +++ b/base_attachment_object_storage/models/ir_attachment.py @@ -78,7 +78,7 @@ def _register_hook(self): # Typical example is images of ir.ui.menu which are updated in # ir.attachment at every upgrade of the addons if update_module: - self.env["ir.attachment"].sudo()._force_storage_to_object_storage() + # self.env["ir.attachment"].sudo()._force_storage_to_object_storage() @property def _object_storage_default_force_db_config(self):