Commit 4a88147f authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_corporate_identity: fix update report action

parent 9ad7275e
...@@ -39,31 +39,28 @@ Update a book report dialog with parameters manually entered ...@@ -39,31 +39,28 @@ Update a book report dialog with parameters manually entered
from Products.ERP5Type.Message import translateString from Products.ERP5Type.Message import translateString
if dialog_id is not None: if dialog_id is not None:
return context.Base_renderForm( request = container.REQUEST
dialog_id, request.form['portal_status_message']=translateString('Preview updated.')
keep_items = dict( request.form['cancel_url']=cancel_url
portal_status_message=translateString('Preview updated.'), request.form['portal_skin']=portal_skin
cancel_url=cancel_url, request.form['format']=format
portal_skin=portal_skin, request.form['document_save']=document_save
format=format, request.form['document_download']=document_download
document_save=document_save, request.form['document_language']=document_language
document_download=document_download, request.form['document_reference']=document_reference
document_language=document_language, request.form['document_version']=document_version
document_reference=document_reference, request.form['document_title']=document_title
document_version=document_version, request.form['display_milestone']=display_milestone
document_title=document_title, request.form['display_depth']=display_depth
display_milestone=display_milestone, request.form['display_detail']=display_detail
display_depth=display_depth, request.form['display_comment']=display_comment
display_detail=display_detail, request.form['display_header']=display_header
display_comment=display_comment, request.form['display_orphan']=display_orphan
display_header=display_header, request.form['start_date']=start_date
display_orphan=display_orphan, request.form['stop_date']=stop_date
start_date=start_date, request.form['report_name']=report_name
stop_date=stop_date, request.form['report_title']=report_title
report_name=report_name, request.form['override_source_organisation_title']=override_source_organisation_title
report_title=report_title, request.form['requirement_relative_url']=requirement_relative_url
override_source_organisation_title=override_source_organisation_title,
requirement_relative_url=requirement_relative_url, return context.Base_renderForm(dialog_id)
**kw
)
)
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