Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fs_storage/models/fs_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def _is_fs_cacheable(self, code):
# For example, the msgd protocol is not cacheable because it uses
# OAuth2 authentication and the token can change.
fs_storage = self.get_by_code(code)
return fs_storage and fs_storage.is_cacheable
return fs_storage and fs_storage.sudo().is_cacheable

@api.model
@tools.ormcache()
Expand Down
Loading