Commit cf6f6b1c authored by Kevin Deldycke's avatar Kevin Deldycke

Return corporate name if possible when displaying the list of organisations.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7720 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cf694b56
......@@ -77,7 +77,7 @@ section_cat_obj = context.portal_categories.resolveCategory(section_cat)\n
valids = section_cat_obj.getGroupRelatedValueList(portal_type=\'Organisation\')\n
\n
# convert to ListField format\n
return [(valid.getTitle(), valid.getRelativeUrl()) for valid in valids]\n
return [(valid.getCorporateName() or valid.getTitle(), valid.getRelativeUrl()) for valid in valids]\n
</string> </value>
</item>
<item>
......
2006-06-14 Kevin
* Return corporate name if possible when displaying the list of organisations.
2006-06-12 Kevin
* Add Closing Transaction Line portal type to use in AccountingTransactionModule_createClosingTransaction script.
......
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