Commit 98ff1cf2 authored by Jérome Perrin's avatar Jérome Perrin

use searchResults, not searchFolder ...

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44244 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b3d1dd49
......@@ -58,7 +58,7 @@ if not open_order.getReference():\n
this_uid = open_order.getUid()\n
\n
# archive previously active open order with same reference\n
for open_order in sci.getPortal().portal_catalog.searchFolder(\n
for open_order in sci.getPortal().portal_catalog.searchResults(\n
portal_type=open_order.getPortalType(),\n
reference=open_order.getReference(),\n
validation_state=\'validated\'):\n
......
96
\ No newline at end of file
97
\ 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