Commit 81f6645b authored by Jérome Perrin's avatar Jérome Perrin

trade: set order_report_document_portal_type request key for listbox title

This report uses a generic listbox with a TALES to read in request its
title. This request key is not set by PackingListModule_viewPackingListReportDialog
but we can find a good default from module name.
parent 29702cf9
......@@ -31,6 +31,9 @@ elif request.get('order_report_document_portal_type'):
else:
raise ValueError("unknown type for report")
if not request.get('order_report_document_portal_type'):
request.set('order_report_document_portal_type', doc_portal_type)
selection_columns = [('group_by', "Group by")]
if from_date is None:
# get the minimum start date in catalog
......
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