Commit a06e8220 authored by Sebastien Robin's avatar Sebastien Robin

the transit_simulation_state was not well defined by default

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13074 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0ed2bdc7
...@@ -615,7 +615,7 @@ class SimulationTool(BaseTool): ...@@ -615,7 +615,7 @@ class SimulationTool(BaseTool):
kw['simulation_state'] = self.getPortalCurrentInventoryStateList() + \ kw['simulation_state'] = self.getPortalCurrentInventoryStateList() + \
self.getPortalTransitInventoryStateList() self.getPortalTransitInventoryStateList()
if transit_simulation_state is None: if transit_simulation_state is None:
self.getPortalTransitInventoryStateList() transit_simulation_state = self.getPortalTransitInventoryStateList()
current_inventory = self.getInventory(omit_transit=omit_transit, current_inventory = self.getInventory(omit_transit=omit_transit,
transit_simulation_state=transit_simulation_state, transit_simulation_state=transit_simulation_state,
**kw) **kw)
......
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