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 @@
<item>
<key> <string>delegated_list</string> </key>
<value>
<list/>
<list>
<string>portal_type</string>
</list>
</value>
</item>
<item>
......@@ -61,6 +63,12 @@
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
......@@ -80,6 +88,17 @@
<key> <string>form_id</string> </key>
<value> <string>TransformationOptionalResource_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value>
<list>
<tuple>
<string>Resource</string>
<string>Resource</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
......@@ -90,4 +109,20 @@
</dictionary>
</pickle>
</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>
......@@ -74,6 +74,10 @@
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
......@@ -129,7 +133,7 @@
<dictionary>
<item>
<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>
</dictionary>
</pickle>
......
185
\ No newline at end of file
186
\ 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