Commit b04f53e7 authored by Yusei Tahara's avatar Yusei Tahara

Previous optimization was too much. Now using standard accessors instead.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19553 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e4589212
......@@ -492,7 +492,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:(cell.section_mark==\'source\' and getattr(cell.getObject(), \'start_date\', None)) or getattr(cell.getObject(), \'stop_date\', None)</string> </value>
<value> <string>python:(cell.section_mark==\'source\' and cell.getStartDate()) or cell.getStopDate()</string> </value>
</item>
</dictionary>
</pickle>
......
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