Commit e7ad4420 authored by Tristan Cavelier's avatar Tristan Cavelier

getIdOrUserName hack

parent c55b5614
......@@ -87,6 +87,7 @@ from Products.ERP5Type.patches import CMFCoreUtils
from Products.ERP5Type.patches import ZopePageTemplate
from Products.ERP5Type.patches import ZSQLMethod
from Products.ERP5Type.patches import MimetypesRegistry
from Products.ERP5Type.patches import users
# These symbols are required for backward compatibility
from Products.ERP5Type.patches.PropertyManager import ERP5PropertyManager
......
from AccessControl.users import BasicUser
if True:
def getIdOrUserName(self):
return self.getUserName()
BasicUser.getIdOrUserName = getIdOrUserName
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment