Commit 2623ed1d authored by Jérome Perrin's avatar Jérome Perrin

inventory by site report:

- only take product type list resources into account
- move site in left group

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24791 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cdf370e0
......@@ -72,7 +72,8 @@ result_list = context.portal_simulation.getCurrentInventoryList(\n
group_by_resource=1,\n
group_by_variation=1,\n
group_by_node=0,\n
at_date=at_date, **kw)\n
at_date=at_date,\n
resource_portal_type=context.getPortalProductTypeList(), **kw)\n
\n
result_list = list(result_list)\n
result_list.sort(cmp=mycmp)\n
......
......@@ -85,9 +85,7 @@
<item>
<key> <string>center</string> </key>
<value>
<list>
<string>your_site_title</string>
</list>
<list/>
</value>
</item>
<item>
......@@ -102,6 +100,7 @@
<key> <string>left</string> </key>
<value>
<list>
<string>your_site_title</string>
<string>your_at_date</string>
</list>
</value>
......
535
\ No newline at end of file
536
\ 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