Commit 609d67f9 authored by Romain Courteaud's avatar Romain Courteaud

erp5_core: propagate the portal type during jump

It is needed if a module contains multiple object's portal types.
parent 69817b19
......@@ -39,6 +39,7 @@ if related:
"that_title": context.getTitleOrId() }),)
return module.Base_redirect(
'view', keep_items={'%s__uid' % base_category: relation.getUid(),
'portal_type': portal_type,
'ignore_hide_rows': 1,
'reset': 1,
'portal_status_message': message})
......
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