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 @@ ...@@ -79,6 +79,10 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
</item> </item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -109,15 +113,15 @@ ...@@ -109,15 +113,15 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>base_category</string> </key> <key> <string>base_category</string> </key>
<value> <string>resource</string> </value> <value> <string>resource</string> </value>
</item> </item>
<item> <item>
<key> <string>catalog_index</string> </key> <key> <string>catalog_index</string> </key>
<value> <string>title</string> </value> <value> <string>title</string> </value>
</item> </item>
<item> <item>
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -144,7 +148,7 @@ ...@@ -144,7 +148,7 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
...@@ -152,7 +156,7 @@ ...@@ -152,7 +156,7 @@
<value> <string>resource_module</string> </value> <value> <string>resource_module</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>The product or service which is traded</string> </value> <value> <string>The product or service which is traded</string> </value>
</item> </item>
<item> <item>
...@@ -164,7 +168,7 @@ ...@@ -164,7 +168,7 @@
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -179,7 +183,7 @@ ...@@ -179,7 +183,7 @@
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Product or Service</string> </value> <value> <string>Product or Service</string> </value>
</item> </item>
</dictionary> </dictionary>
...@@ -215,7 +219,7 @@ ...@@ -215,7 +219,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <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> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
64 66
\ 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