Commit e955f9e5 authored by Romain Courteaud's avatar Romain Courteaud

erp5_ui_test: use Base_renderForm

parent 0a043f4e
Pipeline #15433 failed with stage
in 0 seconds
......@@ -2,5 +2,4 @@
#
# Print action expects the previous view to be accessible in `form_id`
# and it prints it out in both UI compatible way - as a redirect message.
context.REQUEST.form['last_form_id'] = form_id
return context.Base_renderForm('Foo_viewPrintoutForm')
return context.Base_renderForm('Foo_viewPrintoutForm', keep_items={'last_form_id': form_id})
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