Commit 0e842b5e authored by Sebastien Robin's avatar Sebastien Robin

a parameter was missing when calling append


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1774 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9c742642
...@@ -36,6 +36,7 @@ from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface ...@@ -36,6 +36,7 @@ from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Globals import InitializeClass, DTMLFile from Globals import InitializeClass, DTMLFile
from Products.CMFCategory.Category import Category from Products.CMFCategory.Category import Category
from Products.ERP5.ERP5Globals import order_type_list, delivery_type_list
from zLOG import LOG from zLOG import LOG
manage_addRootMovementGroupForm=DTMLFile('dtml/SimulationTool_addRootMovementGroup', globals()) manage_addRootMovementGroupForm=DTMLFile('dtml/SimulationTool_addRootMovementGroup', globals())
...@@ -59,7 +60,7 @@ class RootMovementGroup(Folder): ...@@ -59,7 +60,7 @@ class RootMovementGroup(Folder):
add_permission = Permissions.AddPortalContent add_permission = Permissions.AddPortalContent
isPortalContent = 1 isPortalContent = 1
isRADContent = 1 isRADContent = 1
icon = 'portal.gif' icon = None
# Declarative security # Declarative security
security = ClassSecurityInfo() security = ClassSecurityInfo()
...@@ -113,7 +114,7 @@ class RootMovementGroup(Folder): ...@@ -113,7 +114,7 @@ class RootMovementGroup(Folder):
movement_in_group = 0 movement_in_group = 0
for group in self.group_list : for group in self.group_list :
if group.test(movement) : if group.test(movement) :
group.append(movement) group.append(movement,check_list=check_list)
movement_in_group = 1 movement_in_group = 1
break break
if movement_in_group == 0 : if movement_in_group == 0 :
...@@ -148,7 +149,7 @@ class OrderMovementGroup(RootMovementGroup,Folder): ...@@ -148,7 +149,7 @@ class OrderMovementGroup(RootMovementGroup,Folder):
add_permission = Permissions.AddPortalContent add_permission = Permissions.AddPortalContent
isPortalContent = 1 isPortalContent = 1
isRADContent = 1 isRADContent = 1
icon = 'portal.gif' icon = None
# Declarative constructors # Declarative constructors
constructors = (manage_addOrderMovementGroupForm, addOrderMovementGroup,) constructors = (manage_addOrderMovementGroupForm, addOrderMovementGroup,)
...@@ -231,7 +232,7 @@ class PathMovementGroup(RootMovementGroup,Folder): ...@@ -231,7 +232,7 @@ class PathMovementGroup(RootMovementGroup,Folder):
add_permission = Permissions.AddPortalContent add_permission = Permissions.AddPortalContent
isPortalContent = 1 isPortalContent = 1
isRADContent = 1 isRADContent = 1
icon = 'portal.gif' icon = None
# Declarative constructors # Declarative constructors
constructors = (manage_addPathMovementGroupForm, addPathMovementGroup,) constructors = (manage_addPathMovementGroupForm, addPathMovementGroup,)
...@@ -301,7 +302,7 @@ class DateMovementGroup(RootMovementGroup,Folder): ...@@ -301,7 +302,7 @@ class DateMovementGroup(RootMovementGroup,Folder):
add_permission = Permissions.AddPortalContent add_permission = Permissions.AddPortalContent
isPortalContent = 1 isPortalContent = 1
isRADContent = 1 isRADContent = 1
icon = 'portal.gif' icon = None
# Declarative constructors # Declarative constructors
constructors = (manage_addDateMovementGroupForm, addDateMovementGroup,) constructors = (manage_addDateMovementGroupForm, addDateMovementGroup,)
...@@ -350,7 +351,7 @@ class CriterionMovementGroup(RootMovementGroup,Folder): ...@@ -350,7 +351,7 @@ class CriterionMovementGroup(RootMovementGroup,Folder):
add_permission = Permissions.AddPortalContent add_permission = Permissions.AddPortalContent
isPortalContent = 1 isPortalContent = 1
isRADContent = 1 isRADContent = 1
icon = 'portal.gif' icon = None
# Declarative constructors # Declarative constructors
constructors = (manage_addCriterionMovementGroupForm, addCriterionMovementGroup,) constructors = (manage_addCriterionMovementGroupForm, addCriterionMovementGroup,)
...@@ -400,7 +401,7 @@ class ResourceMovementGroup(RootMovementGroup,Base): ...@@ -400,7 +401,7 @@ class ResourceMovementGroup(RootMovementGroup,Base):
add_permission = Permissions.AddPortalContent add_permission = Permissions.AddPortalContent
isPortalContent = 1 isPortalContent = 1
isRADContent = 1 isRADContent = 1
icon = 'portal.gif' icon = None
# Declarative constructors # Declarative constructors
constructors = (manage_addResourceMovementGroupForm, addResourceMovementGroup,) constructors = (manage_addResourceMovementGroupForm, addResourceMovementGroup,)
...@@ -445,7 +446,7 @@ class BaseVariantMovementGroup(RootMovementGroup,Folder): ...@@ -445,7 +446,7 @@ class BaseVariantMovementGroup(RootMovementGroup,Folder):
add_permission = Permissions.AddPortalContent add_permission = Permissions.AddPortalContent
isPortalContent = 1 isPortalContent = 1
isRADContent = 1 isRADContent = 1
icon = 'portal.gif' icon = None
# Declarative constructors # Declarative constructors
constructors = (manage_addBaseVariantMovementGroupForm, addBaseVariantMovementGroup,) constructors = (manage_addBaseVariantMovementGroupForm, addBaseVariantMovementGroup,)
...@@ -503,7 +504,7 @@ class VariantMovementGroup(RootMovementGroup,Folder): ...@@ -503,7 +504,7 @@ class VariantMovementGroup(RootMovementGroup,Folder):
add_permission = Permissions.AddPortalContent add_permission = Permissions.AddPortalContent
isPortalContent = 1 isPortalContent = 1
isRADContent = 1 isRADContent = 1
icon = 'portal.gif' icon = None
# Declarative constructors # Declarative constructors
constructors = (manage_addVariantMovementGroupForm, addVariantMovementGroup,) constructors = (manage_addVariantMovementGroupForm, addVariantMovementGroup,)
......
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