[Erp5-report] r7720 - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_skins/erp...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jun 14 20:00:07 CEST 2006


Author: kevin
Date: Wed Jun 14 19:59:59 2006
New Revision: 7720

URL: http://svn.erp5.org?rev=7720&view=rev
Log:
Return corporate name if possible when displaying the list of organisations.

Modified:
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourceSectionItemList.xml
    erp5/trunk/bt5/erp5_accounting/bt/change_log

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourceSectionItemList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourceSectionItemList.xml?rev=7720&r1=7719&r2=7720&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourceSectionItemList.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getSourceSectionItemList.xml Wed Jun 14 19:59:59 2006
@@ -77,7 +77,7 @@
 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>

Modified: erp5/trunk/bt5/erp5_accounting/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/change_log?rev=7720&r1=7719&r2=7720&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/change_log Wed Jun 14 19:59:59 2006
@@ -1,3 +1,6 @@
+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.
 




More information about the Erp5-report mailing list