Commit 4cba761d authored by Eteri's avatar Eteri Committed by Levin Zimmermann

erp5_wendelin: fix createDataIngestion, copy only aggregated device

parent 47b0ba53
...@@ -35,7 +35,7 @@ for supply_line in composed.objectValues( ...@@ -35,7 +35,7 @@ for supply_line in composed.objectValues(
current_line = data_ingestion.newContent( current_line = data_ingestion.newContent(
portal_type = "Data Ingestion Line", portal_type = "Data Ingestion Line",
title = supply_line.getTitle(), title = supply_line.getTitle(),
aggregate = supply_line.getAggregateList(), aggregate = supply_line.getAggregateDeviceList(),
int_index = supply_line.getIntIndex(), int_index = supply_line.getIntIndex(),
quantity = supply_line.getQuantity(), quantity = supply_line.getQuantity(),
reference = supply_line.getReference(), reference = supply_line.getReference(),
......
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