Commit 16aa3018 authored by Jérome Perrin's avatar Jérome Perrin

don't check item_list for non item fields

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20328 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 98448000
...@@ -264,11 +264,7 @@ bWxQSwUGAAAAAAIAAgCeAAAAhwwAAAAA</string> </value> ...@@ -264,11 +264,7 @@ bWxQSwUGAAAAAAIAAgCeAAAAhwwAAAAA</string> </value>
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: (not (same_type(value,[]) or same_type(value,()) )) and (value != None)">\n <tal:block tal:condition="python: (not (same_type(value,[]) or same_type(value,()) )) and (value != None)">\n
<text:p text:style-name=\'field-content\'\n <text:p text:style-name=\'field-content\'\n
tal:content="python:str(value)"\n tal:content="python: field.render_pdf(value)"/>\n
tal:condition="not:item_list" />\n
<text:p text:style-name=\'field-content\'\n
tal:content="python: field.render_pdf(value)"\n
tal:condition="item_list" />\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: value is None">\n <tal:block tal:condition="python: value is None">\n
<text:p text:style-name=\'field-content\' tal:content="python: \' \'" />\n <text:p text:style-name=\'field-content\' tal:content="python: \' \'" />\n
...@@ -429,7 +425,8 @@ bWxQSwUGAAAAAAIAAgCeAAAAhwwAAAAA</string> </value> ...@@ -429,7 +425,8 @@ bWxQSwUGAAAAAAIAAgCeAAAAhwwAAAAA</string> </value>
</tal:block>\n </tal:block>\n
</office:text>\n </office:text>\n
</office:body>\n </office:body>\n
</office:document-content> </office:document-content>\n
]]></string> </value> ]]></string> </value>
</item> </item>
......
38 40
\ No newline at end of file \ 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