Commit 0b1dc359 authored by Jérome Perrin's avatar Jérome Perrin

recurse

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43878 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bedd5510
......@@ -56,7 +56,7 @@ open_order_type_list = state_change.getPortal().getPortalOpenOrderTypeList()\n
def getOpenOrder(path):\n
if path.getPortalType() in open_order_type_list:\n
return path\n
return path.getParentValue()\n
return getOpenOrder(path.getParentValue())\n
\n
getOpenOrder(path).OpenOrder_updateSimulation()\n
</string> </value>
......
87
\ No newline at end of file
88
\ No newline at end of file
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