diff --git a/product/ERP5/Document/TransformationSourcingRule.py b/product/ERP5/Document/TransformationSourcingRule.py index 018f6a6f6523c4ce24e37aea8d0b0e5122c717d5..b8212014ebcacb8d321b13a6d4daf587475c5201 100755 --- a/product/ERP5/Document/TransformationSourcingRule.py +++ b/product/ERP5/Document/TransformationSourcingRule.py @@ -180,12 +180,16 @@ class TransformationSourcingRule(Rule): source_node = previous_supply_link.getSourceValue() if source_node is not None: source_value = source_node.getDestinationValue() + source_section_value = previous_supply_link.getSourceSectionValue() # Generate the dict stop_date = parent_movement.getStartDate() movement_dict.update({ "ts": { 'source_value': source_value, + 'source_section_value': source_section_value, 'destination_value': parent_movement.getSourceValue(), + 'destination_section_value': \ + parent_movement.getSourceSectionValue(), 'resource_value': parent_movement.getResourceValue(), 'variation_category_list': parent_movement.\ getVariationCategoryList(),