Commit 323156da authored by Jérome Perrin's avatar Jérome Perrin

Don't use resource_portal_type= related key because it uses category table, so...

Don't use resource_portal_type= related key because it uses category table, so it doesn't work with movements where resource is acquired (cell acquiring resource from the line).
Uses existing resourceType=, which uses movement table

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24800 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f1828623
......@@ -73,7 +73,9 @@ result_list = context.portal_simulation.getCurrentInventoryList(\n
group_by_variation=1,\n
group_by_node=0,\n
at_date=at_date,\n
resource_portal_type=context.getPortalProductTypeList(), **kw)\n
# XXX resourceType= uses movement table.\n
# resource_portal_type= does not work with cells (because resource is acquired from line)\n
resourceType=context.getPortalProductTypeList(), **kw)\n
\n
result_list = list(result_list)\n
result_list.sort(cmp=mycmp)\n
......
538
\ No newline at end of file
540
\ 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