[Erp5-report] r23147 - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_skins/er...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Aug 25 16:05:13 CEST 2008
Author: jerome
Date: Mon Aug 25 16:05:03 2008
New Revision: 23147
URL: http://svn.erp5.org?rev=23147&view=rev
Log:
Support the cases when AccountingTransactionLine_getNodeItemList is not called on a movement
Modified:
erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionLine_getNodeItemList.xml
erp5/trunk/bt5/erp5_accounting/bt/revision
Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionLine_getNodeItemList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionLine_getNodeItemList.xml?rev=23147&r1=23146&r2=23147&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionLine_getNodeItemList.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionLine_getNodeItemList.xml Mon Aug 25 16:05:03 2008
@@ -158,6 +158,9 @@
# make sure that the current value is included in this list, this is \n
# mostly for compatibility with old versions. XXX This is slow. \n
if omit_filter:\n
+ return item_list\n
+\n
+if not hasattr(context, \'getSource\'):\n
return item_list\n
\n
for node in (context.getSource(portal_type=\'Account\'),\n
@@ -234,6 +237,7 @@
<string>getItemList</string>
<string>str</string>
<string>item_list</string>
+ <string>hasattr</string>
<string>_getiter_</string>
<string>node</string>
<string>append</string>
Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=23147&r1=23146&r2=23147&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Mon Aug 25 16:05:03 2008
@@ -1,1 +1,1 @@
-740
+741
More information about the Erp5-report
mailing list