Commit 2852494c authored by Ivan Tyagov's avatar Ivan Tyagov

Use proper API to get embedded documents' portal type list.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42045 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4e9400f5
......@@ -272,7 +272,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [[\'Embedded File\', \'Embedded File\']] + [[t, t] for t in context.getPortalDocumentTypeList()]</string> </value>
<value> <string>python: [[t, t] for t in list(context.getPortalDocumentTypeList())+list(context.getPortalEmbeddedDocumentTypeList())]</string> </value>
</item>
</dictionary>
</pickle>
......
40851
\ No newline at end of file
40852
\ 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