Commit 4cac0c0a authored by Łukasz Nowak's avatar Łukasz Nowak

- for transformation operation allow to choose getPortalSerivceTypeList

- for transformation transformed resource allow to choose getPortalProductTypeList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22108 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ec15c825
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
<item> <item>
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list/> <list>
<string>portal_type</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -61,6 +63,12 @@ ...@@ -61,6 +63,12 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>portal_type</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -80,6 +88,17 @@ ...@@ -80,6 +88,17 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>TransformationOptionalResource_viewFieldLibrary</string> </value> <value> <string>TransformationOptionalResource_viewFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>portal_type</string> </key>
<value>
<list>
<tuple>
<string>Resource</string>
<string>Resource</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
...@@ -90,4 +109,20 @@ ...@@ -90,4 +109,20 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(x, x) for x in (here.getPortalProductTypeList() + here.getPortalServiceTypeList())]</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
...@@ -74,6 +74,10 @@ ...@@ -74,6 +74,10 @@
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
...@@ -94,7 +98,7 @@ ...@@ -94,7 +98,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>
...@@ -109,7 +113,7 @@ ...@@ -109,7 +113,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>Material</string> </value> <value> <string>Material</string> </value>
</item> </item>
</dictionary> </dictionary>
...@@ -129,7 +133,7 @@ ...@@ -129,7 +133,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: [(x, x) for x in here.getPortalResourceTypeList()]</string> </value> <value> <string>python: [(x, x) for x in here.getPortalProductTypeList()]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
185 186
\ 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