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", ) diff --git a/assets_management/security/res_groups.xml b/assets_management/security/res_groups.xml index 03f601f475e0..4367e1e8cf6e 100644 --- a/assets_management/security/res_groups.xml +++ b/assets_management/security/res_groups.xml @@ -3,12 +3,24 @@ Asset Users - + + + Billing and Assets + + + + - +