Commit b02e3c0e authored by Vincent Pelletier's avatar Vincent Pelletier

Do not display accounting accounts with empty title.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28385 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 61e0bff6
......@@ -290,7 +290,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.portal_categories.accounting_code.getCategoryChildTitleItemList(base=1,display_none_category=1)</string> </value>
<value> <string>python: [x for x in here.portal_categories.accounting_code.getCategoryChildTitleItemList(base=1,display_none_category=1,sort_id=\'title\') if x[1]]</string> </value>
</item>
</dictionary>
</pickle>
......
432
\ No newline at end of file
433
\ No newline at end of file
......@@ -275,7 +275,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.portal_categories.accounting_code.getCategoryChildTitleItemList(base=1,display_none_category=1)</string> </value>
<value> <string>python: [x for x in here.portal_categories.accounting_code.getCategoryChildTitleItemList(base=1,display_none_category=1,sort_id=\'title\') if x[1]]</string> </value>
</item>
</dictionary>
</pickle>
......
484
\ No newline at end of file
487
\ 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