From 34fd945a683dc3aeabf29145eae75ffa1a44eb6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Wed, 17 Oct 2012 15:51:05 +0200 Subject: [PATCH] Add comment about previous change --- trytond/model/modelstorage.py | 1 + 1 file changed, 1 insertion(+) 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)