Commit 92c16974 authored by Jérome Perrin's avatar Jérome Perrin

fixup! scalability_test: script to create some sales order

parent 3b7dc3bb
......@@ -69,7 +69,7 @@ for brain in portal.portal_catalog(
simulation_state='confirmed',):
spl = brain.getObject()
if spl.getSimulationState() == 'confirmed' and not spl.hasActivity():
spl.cancel()
spl.activate().cancel() # XXX activate because we sometimes have conflict errors here
# undo redirect from SaleOrder_applySaleTradeCondition
container.REQUEST.RESPONSE.setStatus(200)
......
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