Commit 2869249e authored by Jérome Perrin's avatar Jérome Perrin

use getCategoryChildValueList(is_self_excluded= instead of adding self to the list.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13414 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ce5fa613
...@@ -118,8 +118,8 @@ account_columns = (\n ...@@ -118,8 +118,8 @@ account_columns = (\n
(\'running_total_price\', \'Net\'), )\n (\'running_total_price\', \'Net\'), )\n
\n \n
if gap:\n if gap:\n
gap_value_list = [cat_tool.gap.restrictedTraverse(gap)] + \\\n gap_value_list = cat_tool.gap.restrictedTraverse(gap)\\\n
cat_tool.gap.restrictedTraverse(gap).getCategoryChildValueList()\n .getCategoryChildValueList(is_self_excluded=0)\n
else:\n else:\n
cat = \'gap/%s\' % (\n cat = \'gap/%s\' % (\n
context.portal_preferences.getPreferredAccountingTransactionGap()\n context.portal_preferences.getPreferredAccountingTransactionGap()\n
......
213 214
\ 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