Commit 659847d4 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: Fix script name

parent 5aa2c232
......@@ -31,7 +31,7 @@ if obj is None:
return []
# Object on this case can be Hosting Subscription, Computer, or Computer Network
organisation = obj.Item_getCurrentSectionValue()
organisation = obj.Item_getCurrentOwnerValue()
if organisation is not None and \
organisation.getPortalType() == "Organisation":
category_list.append({'destination_section': [organisation.getRelativeUrl()]})
......
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