Commit e1019042 authored by Eteri's avatar Eteri

wendelin: support to filter by variation(resolution) in initial product when...

wendelin: support to filter by variation(resolution) in initial product when finding applicable data transformations
parent b82cbfee
......@@ -43,10 +43,14 @@ for movement in portal_catalog(query=query):
if line.getResourceValue() == movement.getResourceValue() and line.getQuantity() < 0:
transformation_list.append(transformation)
break
transformation_list += list(portal.portal_catalog(
portal_type = "Data Transformation",
validation_state = "validated",
resource_relative_url = movement.getResource()))
for transformation in portal.portal_catalog(
portal_type = "Data Transformation",
validation_state = "validated",
resource_relative_url = movement.getResource()):
# Variation - only with resolution for now
if transformation.getResolution() == movement.getResolution():
transformation_list.append(transformation)
for transformation in transformation_list:
is_shared_data_analysis = False
......
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