Commit 3ace82ab authored by Arnaud Fontaine's avatar Arnaud Fontaine

WIP

parent 6e8f5b56
from Products.ERP5Type.Message import translateString
portal = context.getPortalObject()
#person_value = portal.portal_membership.getAuthenticatedMember().getUserValue()
person_value = portal.portal_membership.getAuthenticatedMember().getUserValue()
#TEST-ONLY
person_value = portal.person_module.pers
#person_value = portal.person_module.pers
if person_value is None:
portal.changeSkin(None)
return context.Base_redirect('view', keep_items=dict(
......
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