diff --git a/trytond/model/modelstorage.py b/trytond/model/modelstorage.py index 68144b60c0..5352f5e345 100644 --- a/trytond/model/modelstorage.py +++ b/trytond/model/modelstorage.py @@ -895,6 +895,7 @@ class ModelStorage(Model): return False with Transaction().set_context(ctx_pref): + # Ensure that records are readable with Transaction().set_user(0, set_context=True): records = cls.browse(records)