Commit 1f52711a authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Vincent Pelletier

ERP5Type: add getUserValue, getLoginValue and getLoginValueList in BasicUser.

parent 5d801408
...@@ -4,3 +4,18 @@ if True: ...@@ -4,3 +4,18 @@ if True:
return self.getId() or self.getUserName() return self.getId() or self.getUserName()
BasicUser.getIdOrUserName = getIdOrUserName BasicUser.getIdOrUserName = getIdOrUserName
def getUserValue(self):
return None
BasicUser.getUserValue = getUserValue
def getLoginValue(self):
return None
BasicUser.getLoginValue = getLoginValue
def getLoginValueList(self, *args, **kw):
return []
BasicUser.getLoginValueList = getLoginValueList
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