Commit ed7e2e21 authored by Eteri's avatar Eteri

Pass causality_reference and reference to Data Operation script.

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