Commit b0e32014 authored by Eteri's avatar Eteri

add "Id" to parameter dictionary

parent d1669f69
......@@ -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