Commit 9dc60c52 authored by Boxiang Sun's avatar Boxiang Sun

erp5_officejs_support_request_ui: Drop the deprecated ERP5Site_getAuthenticatedMemberPersonValue

Use portal_membership.getAuthenticatedMember().getUserValue() instead.
parent 3eca54d9
......@@ -4,7 +4,7 @@ import json
absolute_url = context.absolute_url()
href = "SupportRequestModule_viewLastSupportRequestListAsRss"
portal = context.getPortalObject()
person = portal.ERP5Site_getAuthenticatedMemberPersonValue()
person = portal.portal_membership.getAuthenticatedMember().getUserValue()
if person is None:
raise Unauthorized("You must logged in first!")
......
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