Commit edc79947 authored by Jérome Perrin's avatar Jérome Perrin

fix portal types

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20663 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 20216b3b
......@@ -79,6 +79,10 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......@@ -109,15 +113,15 @@
<value>
<dictionary>
<item>
<key> <string>base_category</string> </key>
<key> <string>base_category</string> </key>
<value> <string>resource</string> </value>
</item>
<item>
<key> <string>catalog_index</string> </key>
<key> <string>catalog_index</string> </key>
<value> <string>title</string> </value>
</item>
<item>
<key> <string>columns</string> </key>
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
......@@ -144,7 +148,7 @@
</value>
</item>
<item>
<key> <string>default</string> </key>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
......@@ -152,7 +156,7 @@
<value> <string>resource_module</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<key> <string>description</string> </key>
<value> <string>The product or service which is traded</string> </value>
</item>
<item>
......@@ -164,7 +168,7 @@
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<key> <string>portal_type</string> </key>
<value>
<list>
<tuple>
......@@ -179,7 +183,7 @@
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<key> <string>title</string> </key>
<value> <string>Product or Service</string> </value>
</item>
</dictionary>
......@@ -215,7 +219,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: map( lambda x: (x,x), here.getPortalResourceTypeList())</string> </value>
<value> <string>python: [(x, x) for x in (list(here.getPortalProductTypeList()) + list(here.getPortalServiceTypeList()))]</string> </value>
</item>
</dictionary>
</pickle>
......
64
\ No newline at end of file
66
\ 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