[Erp5-report] r14690 - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_skins/er...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jun 5 15:23:34 CEST 2007
Author: jerome
Date: Tue Jun 5 15:23:34 2007
New Revision: 14690
URL: http://svn.erp5.org?rev=14690&view=rev
Log:
now that we have a BankAccount_getReference script that fallbacks to title, we must take care not to display the title twice which is ugly (and makes test fails)
Modified:
erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBankAccountItemList.xml
erp5/trunk/bt5/erp5_accounting/bt/revision
Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBankAccountItemList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBankAccountItemList.xml?rev=14690&r1=14689&r2=14690&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBankAccountItemList.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBankAccountItemList.xml Tue Jun 5 15:23:34 2007
@@ -79,7 +79,7 @@
item_list = [(\'\', \'\')]\n
for bank in organisation.contentValues(\n
portal_type=portal.getPortalPaymentNodeTypeList()):\n
- if bank.getReference():\n
+ if bank.getReference() and bank.getReference() != bank.getTitle():\n
item_list.append((\'%s - %s\' % (bank.getReference(),\n
bank.getTitle() or \n
bank.getSourceFreeText() or\n
Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=14690&r1=14689&r2=14690&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Tue Jun 5 15:23:34 2007
@@ -1,1 +1,1 @@
-319
+320
More information about the Erp5-report
mailing list