Commit 7b2ced49 authored by Jérome Perrin's avatar Jérome Perrin

BalanceSheet : Sort equity and liability according to int_index on categories.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14770 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8d69a0a7
......@@ -540,8 +540,7 @@ dQEAAAAA</string> </value>
</table:table-row>\n
</table:table-header-rows>\n
\n
<!-- TODO: sort -->\n
<tal:block tal:repeat="cat_level_1 python: list(financial_section.equity.contentValues()) + list(financial_section.liability.contentValues())">\n
<tal:block tal:repeat="cat_level_1 python: test(financial_section.equity.getIntIndex() &gt; financial_section.liability.getIntIndex(), list(financial_section.liability.contentValues(sort_on=((\'int_index\', \'ascending\'),))) + list(financial_section.equity.contentValues(sort_on=((\'int_index\', \'ascending\'),))), list(financial_section.equity.contentValues(sort_on=((\'int_index\', \'ascending\'),))) + list(financial_section.liability.contentValues(sort_on=((\'int_index\', \'ascending\'),))))">\n
<!-- }}} -->\n
\n
<!-- LEVEL 1 {{{ -->\n
......
341
\ No newline at end of file
343
\ 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