Commit 7be85174 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

remove using deprecated asSQLExpression() method.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25830 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b1a1dd10
......@@ -72,11 +72,9 @@ if omit_order_resources:\n
ignored_resource_uid_list = [q.getResourceUid() for q in context.getMovementList() \\\n
if q.getResourceUid() is not None]\n
\n
query = NegatedQuery(\n
kw[\'query\'] = NegatedQuery(\n
Query(operator=\'IN\',**{\'stock.resource_uid\':ignored_resource_uid_list})\n
)\n
\n
kw.update(**query.asSQLExpression())\n
\n
kw[\'explanation_uid\'] = [context.getUid()] + [q.getUid() for q in \\\n
context.getCausalityRelatedValueList(portal_type=context.getPortalDeliveryTypeList())]\n
......
388
\ No newline at end of file
389
\ 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