diff --git a/product/ERP5/Document/Document.py b/product/ERP5/Document/Document.py index 500fb5f96a2e91bef2bc9f39cf6127e368b655d1..c8edc15eb141982875c47c477749e050e8a7da18 100644 --- a/product/ERP5/Document/Document.py +++ b/product/ERP5/Document/Document.py @@ -750,7 +750,7 @@ class Document(XMLObject): user_login = str(getSecurityManager().getUser()) method = self._getTypeBasedMethod('getPropertyDictFromUserLogin', fallback_script_id='Document_getPropertyDictFromUserLogin') - return method() + return method(user_login) security.declareProtected(Permissions.ModifyPortalContent,'getPropertyDictFromContent') def getPropertyDictFromContent(self):