daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 68 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. def computeFullname(self):
  2.         """ compute the fullname from the firstname and lastname values """
  3.         YearsOfService = self.getField('YearsOfService').getAccessor(self)()
  4.         creator = self.Creator()
  5.         member = self.portal_membership.getMemberById(creator)
  6.         user=member.getProperty('fullname', 'Fullname missing')
  7.         space = ': '
  8.         return "%s%s%s" % (YearsOfService, space,user)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top