Commit b6f66161 authored by Fabien Morin's avatar Fabien Morin

here we wants to compare movements with movements. In this case, contentValues...

here we wants to compare movements with movements. In this case, contentValues doesn't return movements but probably Trade Model Lines, so use getMovementList instead.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26948 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3c1b16bf
...@@ -69,7 +69,7 @@ class TradeCondition(Path, Transformation): ...@@ -69,7 +69,7 @@ class TradeCondition(Path, Transformation):
) )
def updateAggregatedAmountList(self, context, **kw): def updateAggregatedAmountList(self, context, **kw):
existing_movement_list = context.contentValues() existing_movement_list = context.getMovementList()
aggregated_amount_list = self.getAggregatedAmountList(context = context, aggregated_amount_list = self.getAggregatedAmountList(context = context,
**kw) **kw)
modified_resource_list = [] modified_resource_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