Commit c8010e83 authored by Tristan Cavelier's avatar Tristan Cavelier

DATETIMEFIELDUPDATE clean some of romain's code

parent 79c88bb5
......@@ -256,6 +256,4 @@ if context.REQUEST.get('is_web_mode', False) and \
not editable_mode:
form_id = 'view'
# return context.ERP5Document_getHateoas(form=form, REQUEST=request, mode='form')
return context.Base_renderForm(form_id, message=message)
# return context.Base_redirect(keep_items={'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