Commit 2d804504 authored by Sebastien Robin's avatar Sebastien Robin

call getTransformation with movement instead of rule


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4316 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a33466bd
......@@ -142,7 +142,7 @@ class SupplyLink(Path, XMLObject):
# Get the transformation to use
applied_rule = movement.getParent()
rule = applied_rule.getSpecialiseValue()
transformation = rule.getTransformation(applied_rule)
transformation = rule.getTransformation(movement)
# Call getAggregatedAmountList
amount_list = transformation.getAggregatedAmountList(
movement.getParent().getParent(),
......
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