From 242b8e042fc5514808d50cc70c74fdeb6af9efef Mon Sep 17 00:00:00 2001 From: PicchiSeba Date: Tue, 23 Apr 2024 09:57:54 +0200 Subject: [PATCH] [FIX]assets_management: handle access error during flag computation --- assets_management/models/account_move.py | 1 + 1 file changed, 1 insertion(+) diff --git a/assets_management/models/account_move.py b/assets_management/models/account_move.py index ea915458e4ba..78e9c3c1f86c 100644 --- a/assets_management/models/account_move.py +++ b/assets_management/models/account_move.py @@ -26,6 +26,7 @@ class AccountMove(models.Model): hide_link_asset_button = fields.Boolean( compute="_compute_hide_link_asset_button", + compute_sudo=True, default=True, string="Hide Asset Button", )