Commit e3261e91 authored by Aurel's avatar Aurel

fix test method in AggregateMovementGroup

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4409 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dc0cd51b
......@@ -869,9 +869,10 @@ class AggregateMovementGroup(RootMovementGroup):
)
def test(self,movement):
if self.getAggregate(movement) == self.aggregate :
if self.getAggregateList(movement) == self.aggregate :
return 1
else :
return 0
allow_class(BrandMovementGroup)
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