From 770e444b0a4525f2f668f2ea4a59bea576badd7f Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Fri, 16 Jul 2004 16:28:22 +0000 Subject: [PATCH] Use getAcquiredValueList instead of getValueList. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1211 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/skins/erp5_core/base_jump_relation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/skins/erp5_core/base_jump_relation.py b/product/ERP5/skins/erp5_core/base_jump_relation.py index 71fa603872..42683d7eaa 100755 --- a/product/ERP5/skins/erp5_core/base_jump_relation.py +++ b/product/ERP5/skins/erp5_core/base_jump_relation.py @@ -19,7 +19,7 @@ form = getattr(context,form_id) field = form.get_field(field_id) base_category = field.get_value('base_category') portal_type = map(lambda x:x[0],field.get_value('portal_type')) -jump_reference_list = context.getValueList(base_category, portal_type=portal_type) +jump_reference_list = context.getAcquiredValueList(base_category, portal_type=portal_type) if len(jump_reference_list)==1: jump_reference = jump_reference_list[0] return request[ 'RESPONSE' ].redirect( '%s/view' % jump_reference.absolute_url() ) -- 2.30.9