diff --git a/base_attachment_object_storage/models/ir_attachment.py b/base_attachment_object_storage/models/ir_attachment.py index 4af219e5..ddffc18f 100644 --- a/base_attachment_object_storage/models/ir_attachment.py +++ b/base_attachment_object_storage/models/ir_attachment.py @@ -78,6 +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: + pass # self.env["ir.attachment"].sudo()._force_storage_to_object_storage() @property