Commit 4a0140c6 authored by Sebastien Robin's avatar Sebastien Robin

added the transit_inventory group

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13028 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ce618fcd
...@@ -22,8 +22,8 @@ _properties_form = DTMLFile('state_properties', _dtmldir) ...@@ -22,8 +22,8 @@ _properties_form = DTMLFile('state_properties', _dtmldir)
def getAvailableTypeList(self): def getAvailableTypeList(self):
"""This is a method specific to ERP5. This returns a list of state types, which are used for portal methods. """This is a method specific to ERP5. This returns a list of state types, which are used for portal methods.
""" """
return ('current_inventory', 'reserved_inventory', 'future_inventory', return ('current_inventory', 'transit_inventory','reserved_inventory',
'draft_order', 'planned_order', ) 'future_inventory', 'draft_order', 'planned_order', )
def setProperties(self, title='', transitions=(), REQUEST=None, description='', type_list=()): def setProperties(self, title='', transitions=(), REQUEST=None, description='', type_list=()):
''' '''
...@@ -39,4 +39,4 @@ def setProperties(self, title='', transitions=(), REQUEST=None, description='', ...@@ -39,4 +39,4 @@ def setProperties(self, title='', transitions=(), REQUEST=None, description='',
StateDefinition._properties_form = _properties_form StateDefinition._properties_form = _properties_form
StateDefinition.getAvailableTypeList = getAvailableTypeList StateDefinition.getAvailableTypeList = getAvailableTypeList
StateDefinition.setProperties = setProperties StateDefinition.setProperties = setProperties
StateDefinition.type_list = () StateDefinition.type_list = ()
\ No newline at end of file
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