Commit 5630c7d5 authored by Jérome Perrin's avatar Jérome Perrin

don't show all accounts if none matches the selected gap

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26439 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 127318ee
...@@ -91,7 +91,7 @@ gap = request.get(\'gap\', None)\n ...@@ -91,7 +91,7 @@ gap = request.get(\'gap\', None)\n
if gap:\n if gap:\n
gap_value = portal.portal_categories.gap.restrictedTraverse(gap)\n gap_value = portal.portal_categories.gap.restrictedTraverse(gap)\n
node_uid = [x.uid for x in gap_value.getCategoryMemberValueList(\n node_uid = [x.uid for x in gap_value.getCategoryMemberValueList(\n
portal_type=\'Account\')]\n portal_type=\'Account\')] or -1\n
\n \n
request.set(\'is_accounting_report\', True)\n request.set(\'is_accounting_report\', True)\n
\n \n
......
895 896
\ 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