Commit a08fe4f1 authored by Tatuya Kamada's avatar Tatuya Kamada

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.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36516 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1e21f81e
......@@ -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
......
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.
......
189
\ No newline at end of file
191
\ No newline at end of file
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