Commit 81c1081c authored by Romain Courteaud's avatar Romain Courteaud

[erp5_base] more actions

parent 7ae8f793
......@@ -16,13 +16,13 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_action</string>
<string>action_type/object_jio_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_action</string> </value>
<value> <string>object_jio_action</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
......
......@@ -12,5 +12,6 @@ else:
login.setPassword(new_password)
# clear erp5_content_short cache (see _authenticateCredentials in Products.ERP5Security.ERP5UserManager)
context.portal_caches.clearCache(('erp5_content_short',))
return context.getPortalObject().Base_redirect('logout')
context.logout()
return context.Base_redirect()
return context.Base_redirect(dialog_id, keep_items={'portal_status_message': msg})
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