Commit c9b14414 authored by Eteri's avatar Eteri Committed by Levin Zimmermann

add "Id" to parameter dictionary

parent 9c789744
......@@ -32,6 +32,7 @@ for analysis_line in context.objectValues(portal_type="Data Analysis Line"):
parameter["Start Date"] = analysis_line.getStartDate()
parameter["Stop Date"] = analysis_line.getStopDate()
parameter["Id"] = analysis_line.getId()
# several lines with same reference wil turn the parameter into a list
if reference in parameter_dict:
if not isinstance(parameter_dict[reference], list):
......
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