Commit fa46022a authored by Tatuya Kamada's avatar Tatuya Kamada

Fix to get the field properly.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30781 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ddb7f206
......@@ -371,7 +371,7 @@ class ODFStrategy(Implicit):
ooo_builder=ooo_builder,
iteration_index=iteration_index)
elif isinstance(field, ReportBox):
report_method = getattr(field, field.report_method, None)
report_method = getattr(field, field.get_value('report_method'), None)
element_tree = self._replaceXmlByReportSection(element_tree=element_tree,
extra_context=extra_context,
report_method=report_method,
......
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