[Erp5-report] r36516 tatuya - in /erp5/trunk/bt5/erp5_item: SkinTemplateItem/portal_skins/e...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 22 16:28:13 CEST 2010


Author: tatuya
Date: Tue Jun 22 16:28:09 2010
New Revision: 36516

URL: http://svn.erp5.org?rev=36516&view=rev
Log:
2010-06-22 tatuya
* Fix a issue that Aggregate Items view caused an attribute error when there is a document which is not a movement, ex payment condition.

Modified:
    erp5/trunk/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Delivery_getAggregatedItemValueList.xml
    erp5/trunk/bt5/erp5_item/bt/change_log
    erp5/trunk/bt5/erp5_item/bt/revision

Modified: erp5/trunk/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Delivery_getAggregatedItemValueList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Delivery_getAggregatedItemValueList.xml?rev=36516&r1=36515&r2=36516&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Delivery_getAggregatedItemValueList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Delivery_getAggregatedItemValueList.xml [utf8] Tue Jun 22 16:28:09 2010
@@ -61,10 +61,10 @@ pl_type = context.getPortalType()\n
 pl_line_type = pl_type + \' Line\'\n
 pl_cell_type = pl_type + \' Cell\'\n
 \n
-line_list = context.objectValues(filter={\'portal_type\':pl_line_type})\n
+line_list = context.objectValues(portal_type=pl_line_type)\n
 for line in line_list:\n
   selection_uid_list.extend(line.getAggregateUidList())\n
-  cell_list = line.objectValues(filter={\'portal_type\':pl_cell_type})\n
+  cell_list = line.objectValues(portal_type=pl_cell_type)\n
   for cell in cell_list:\n
     selection_uid_list.extend(cell.getAggregateUidList())\n
 \n

Modified: erp5/trunk/bt5/erp5_item/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_item/bt/change_log?rev=36516&r1=36515&r2=36516&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_item/bt/change_log [utf8] (original)
+++ erp5/trunk/bt5/erp5_item/bt/change_log [utf8] Tue Jun 22 16:28:09 2010
@@ -1,3 +1,6 @@
+2010-06-22 tatuya
+* Fix a issue that Aggregate Items view caused an attribute error when there is a document which is not a movement, ex payment condition.
+
 2009-05-01 yusei
 * Fix broken Item_view form. Don't forget to commit form itself when you add a new field. Partial commit break business template.
 

Modified: erp5/trunk/bt5/erp5_item/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_item/bt/revision?rev=36516&r1=36515&r2=36516&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_item/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_item/bt/revision [utf8] Tue Jun 22 16:28:09 2010
@@ -1 +1 @@
-189
\ No newline at end of file
+191
\ No newline at end of file




More information about the Erp5-report mailing list