Commit 386d34bb authored by Jérome Perrin's avatar Jérome Perrin

use Field.render_pdf also for report_view


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13268 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9f814df8
......@@ -92,11 +92,8 @@
<para style="TableStandard" tal:content="python: str(item)" />\n
</tal:block>\n
</tal:block>\n
<tal:block tal:condition="python: not (same_type(value, []) or same_type(value, ()) or same_type(value, DateTime()) or same_type(value, None))">\n
<para style="TableStandard" tal:content="python: \'%s \' % value" />\n
</tal:block>\n
<tal:block tal:condition="python: same_type(value, DateTime())">\n
<para style="TableStandard" tal:content="python: field.render_view(value)" />\n
<tal:block tal:condition="python: not (same_type(value, []) or same_type(value, ()) or same_type(value, None))">\n
<para style="TableStandard" tal:content="python: field.render_pdf(value)" />\n
</tal:block>\n
<tal:block tal:condition="python: value is None">\n
<para style="TableStandard" tal:content="python: \' \'" />\n
......
21
\ No newline at end of file
22
\ 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