diff --git a/trytond/cache.py b/trytond/cache.py index bb46a8c064..c92b063af2 100644 --- a/trytond/cache.py +++ b/trytond/cache.py @@ -27,7 +27,7 @@ class Cache(object): def _key(self, key): if self.context: - return (key, Transaction().user, repr(Transaction.context)) + return (key, Transaction().user, repr(Transaction().context)) return key def get(self, key, default=None):