Commit 5e57f0aa authored by Romain Courteaud's avatar Romain Courteaud Committed by Kazuhiko Shiozaki

erp5_core: propagate the portal type during jump

It is needed if a module contains multiple object's portal types.
parent 111c2a3d
......@@ -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