diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/TransformationOptionalResource_view/my_resource_title.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/TransformationOptionalResource_view/my_resource_title.xml index 7308b99c3dd1672228f62b7fe6d398b9fa50eefd..75fe40a4467044ba50e731e928a16f415c9b94f1 100644 --- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/TransformationOptionalResource_view/my_resource_title.xml +++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/TransformationOptionalResource_view/my_resource_title.xml @@ -14,7 +14,6 @@ <value> <list> <string>portal_type</string> - <string>proxy_listbox_ids</string> </list> </value> </item> @@ -70,12 +69,6 @@ <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> </value> </item> - <item> - <key> <string>proxy_listbox_ids</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> <item> <key> <string>target</string> </key> <value> <string></string> </value> @@ -106,10 +99,6 @@ </list> </value> </item> - <item> - <key> <string>proxy_listbox_ids</string> </key> - <value> <string></string> </value> - </item> <item> <key> <string>target</string> </key> <value> <string>Click to edit the target</string> </value> @@ -136,20 +125,4 @@ </dictionary> </pickle> </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="TALESMethod" module="Products.Formulator.TALESField"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_text</string> </key> - <value> <string>python:[(\'%sModule_view%sList/listbox\' % (x.replace(\' \',\'\'), x.replace(\' \', \'\')), x) for x in (here.getPortalProductTypeList() + here.getPortalServiceTypeList()) if context.Base_checkPermission(context.getDefaultModuleId(x), \'View\')]</string> </value> - </item> - </dictionary> - </pickle> - </record> </ZopeData> diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/TransformationTransformedResource_viewFieldLibrary/my_resource_title.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/TransformationTransformedResource_viewFieldLibrary/my_resource_title.xml index 9580cf4da196a62a09497585facd56e68bea38a1..e690472ac77bdf5b0a94f6eb16af6a1f70542245 100644 --- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/TransformationTransformedResource_viewFieldLibrary/my_resource_title.xml +++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/TransformationTransformedResource_viewFieldLibrary/my_resource_title.xml @@ -117,7 +117,14 @@ </item> <item> <key> <string>proxy_listbox_ids</string> </key> - <value> <string></string> </value> + <value> + <list> + <tuple> + <string>Base_viewRelatedObjectListBase/listbox</string> + <string>All</string> + </tuple> + </list> + </value> </item> <item> <key> <string>target</string> </key> @@ -160,7 +167,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python:[(\'%sModule_view%sList/listbox\' % (x.replace(\' \',\'\'), x.replace(\' \', \'\')), x) for x in context.getPortalProductTypeList() if context.Base_checkPermission(context.getDefaultModuleId(x), \'View\')]</string> </value> + <value> <string>python: field.get_orig_value(\'proxy_listbox_ids\') + [(\'%sModule_view%sList/listbox\' % (x.replace(\' \',\'\'), x.replace(\' \', \'\')), x) for x in zip(*field.get_value(\'portal_type\'))[0] if context.Base_checkPermission(context.getDefaultModuleId(x), \'View\')]</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Transformation_view/my_resource_title.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Transformation_view/my_resource_title.xml index 8cd6a321a4c45c155ad632781c1862e90ac7f138..5af4a967d1f9f720a7ae6ebc3ece5226b8a4279d 100644 --- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Transformation_view/my_resource_title.xml +++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Transformation_view/my_resource_title.xml @@ -14,7 +14,6 @@ <value> <list> <string>columns</string> - <string>proxy_listbox_ids</string> <string>sort</string> </list> </value> @@ -69,12 +68,6 @@ <key> <string>form_id</string> </key> <value> <string></string> </value> </item> - <item> - <key> <string>proxy_listbox_ids</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> <item> <key> <string>sort</string> </key> <value> <string></string> </value> @@ -125,12 +118,6 @@ <key> <string>form_id</string> </key> <value> <string>Transformation_viewFieldLibrary</string> </value> </item> - <item> - <key> <string>proxy_listbox_ids</string> </key> - <value> - <list/> - </value> - </item> <item> <key> <string>sort</string> </key> <value> @@ -156,20 +143,4 @@ </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:[(\'%sModule_view%sList/listbox\' % (x.replace(\' \',\'\'), x.replace(\' \', \'\')), x) for x in context.getPortalProductTypeList() if context.Base_checkPermission(context.getDefaultModuleId(x), \'View\')]</string> </value> - </item> - </dictionary> - </pickle> - </record> </ZopeData> diff --git a/bt5/erp5_pdm/bt/revision b/bt5/erp5_pdm/bt/revision index 34c3a209c7ec7843f5b0a1c5e69e69e9286e8da3..8fc2b18859677e12ccd71f5eaec30186f280c77c 100644 --- a/bt5/erp5_pdm/bt/revision +++ b/bt5/erp5_pdm/bt/revision @@ -1 +1 @@ -487 \ No newline at end of file +488 \ No newline at end of file