Commit 4f3ae022 authored by Yoshinori Okuji's avatar Yoshinori Okuji

target inventory is not used any longer.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4426 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ecad5663
......@@ -165,7 +165,6 @@ portal_balance_transaction_line_type_list = ('Balance Transaction Line',)
portal_current_inventory_state_list = ('delivered', 'started', 'stopped', 'invoiced') # invoiced is Coramy specific and should be removed
portal_transit_inventory_state_list = ('started',) # This MUST be a subset of portal_current_inventory_state_list, it indicates movements that left the source, but didn't arrive at the destination yet.
portal_target_inventory_state_list = ('ready', 'delivered', 'started', 'stopped', 'invoiced') # if simulation_state in target_list, target_quantity should be considered instead of quantity for stock indexing XXX why do we need two inventory_state_list ?
portal_draft_order_state_list = ('cancelled', 'draft', 'auto_planned' )
portal_planned_order_state_list = ('planned', 'ordered', )
portal_reserved_inventory_state_list = ('confirmed', 'getting_ready', 'ready')
......
......@@ -467,13 +467,6 @@ class ERP5Site ( CMFSite, FolderMixIn ):
"""
return self._getPortalConfiguration('portal_current_inventory_state_list')
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalTargetInventoryStateList')
def getPortalTargetInventoryStateList(self):
"""
Return target inventory states.
"""
return self._getPortalConfiguration('portal_target_inventory_state_list')
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalDraftOrderStateList')
def getPortalDraftOrderStateList(self):
"""
......
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