Commit 2952efa1 authored by Boxiang Sun's avatar Boxiang Sun Committed by Eteri

erp5_officejs_support_request_ui: Drop the deprecated ERP5Site_getAuthenticatedMemberPersonValue

Use portal_membership.getAuthenticatedMember().getUserValue() instead.
parent 1e21a536
......@@ -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