Commit afa7c0e6 authored by Nicolas Delaby's avatar Nicolas Delaby

Never hardcode portal_type

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39969 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 524344aa
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
</pickle>
<pickle>
<dictionary>
......@@ -124,16 +121,13 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: context.Delivery_getResourceItemList(validation_state=\'validated\', portal_type=[\'Service\', \'Product\'], cell=cell)</string> </value>
<value> <string>python: context.Delivery_getResourceItemList(validation_state=\'validated\', portal_type=context.getPortalObject().getPortalResourceTypeList(), cell=cell)</string> </value>
</item>
</dictionary>
</pickle>
......
997
\ No newline at end of file
999
\ 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