Commit 84109d45 authored by Romain Courteaud's avatar Romain Courteaud

Variable name used with setGroupEdit should be consistent with accessor used.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16603 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a27de5ba
...@@ -983,13 +983,13 @@ class AggregateMovementGroup(RootMovementGroup): ...@@ -983,13 +983,13 @@ class AggregateMovementGroup(RootMovementGroup):
def __init__(self,movement,**kw): def __init__(self,movement,**kw):
RootMovementGroup.__init__(self, movement=movement, **kw) RootMovementGroup.__init__(self, movement=movement, **kw)
aggregate = self.getAggregateList(movement) aggregate = self.getAggregateList(movement)
self.aggregate = aggregate self.aggregate_list = aggregate
self.setGroupEdit( self.setGroupEdit(
aggregate=aggregate aggregate_list=aggregate
) )
def test(self,movement): def test(self,movement):
if self.getAggregateList(movement) == self.aggregate : if self.getAggregateList(movement) == self.aggregate_list:
return 1 return 1
else : else :
return 0 return 0
......
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