diff --git a/product/ERP5Type/Cache.py b/product/ERP5Type/Cache.py index 01b670391c937cbb54a7f9600945731e0ca55dcd..6ba712647dd9fbafe2b1484941eda8de75b7515b 100644 --- a/product/ERP5Type/Cache.py +++ b/product/ERP5Type/Cache.py @@ -172,7 +172,7 @@ class CachingMethod: #erp5_site_id = kwd.get('portal_path', ('','erp5'))[1] ## cache scope is based on user which is a kwd argument - scope = kwd.get('user', 'GLOBAL') + scope = kwd.get('scope', 'GLOBAL') ## generate unique cache id cache_id = self.generateCacheId(self.id, *args, **kwd)