diff --git a/product/ERP5/MovementGroup.py b/product/ERP5/MovementGroup.py
index dacff6e3bf7bc9596732986a84324c0d77db38cc..778a840abcbacdcaa4d1075de70997dbd9600787 100755
--- a/product/ERP5/MovementGroup.py
+++ b/product/ERP5/MovementGroup.py
@@ -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)
+