Commit e80e8298 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Re-order the list of state types by ascending order of simulation.

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