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 ...@@ -72,7 +72,8 @@ result_list = context.portal_simulation.getCurrentInventoryList(\n
group_by_resource=1,\n group_by_resource=1,\n
group_by_variation=1,\n group_by_variation=1,\n
group_by_node=0,\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 \n
result_list = list(result_list)\n result_list = list(result_list)\n
result_list.sort(cmp=mycmp)\n result_list.sort(cmp=mycmp)\n
......
...@@ -85,9 +85,7 @@ ...@@ -85,9 +85,7 @@
<item> <item>
<key> <string>center</string> </key> <key> <string>center</string> </key>
<value> <value>
<list> <list/>
<string>your_site_title</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -102,6 +100,7 @@ ...@@ -102,6 +100,7 @@
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>your_site_title</string>
<string>your_at_date</string> <string>your_at_date</string>
</list> </list>
</value> </value>
......
535 536
\ No newline at end of file \ 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