Commit dc2f3b39 authored by Sebastien Robin's avatar Sebastien Robin

erp5_item: the purpose of getTrackingList or getCurrentTrackingList is to...

erp5_item: the purpose of getTrackingList or getCurrentTrackingList is to avoid passing simulation states by hand
parent 955bb3b0
......@@ -10,11 +10,6 @@ uid = context.getUid()
history_list = []
simulation_state = portal.getPortalCurrentInventoryStateList() \
+ portal.getPortalTransitInventoryStateList() \
+ portal.getPortalReservedInventoryStateList()
kw['item.simulation_state'] = simulation_state
for res in method(aggregate_uid=uid, **kw):
history = newTempBase(context, str(len(history_list)))
explanation = catalog(uid=res.delivery_uid)
......
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