From b1d9242a570115fec73de0692b003278fb44c64b Mon Sep 17 00:00:00 2001 From: Julien Muchembled <jm@nexedi.com> Date: Fri, 13 Nov 2009 15:50:38 +0000 Subject: [PATCH] Manage Field Library: also check delegated values of field libraries git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30583 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_toolbox/BusinessTemplate_getModifiableFieldList.xml | 5 ++++- bt5/erp5_forge/bt/revision | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_getModifiableFieldList.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_getModifiableFieldList.xml index a50a6ee0b5..98cd185ba7 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_getModifiableFieldList.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_toolbox/BusinessTemplate_getModifiableFieldList.xml @@ -76,7 +76,6 @@ field_library_id_dict = {\n modified_object_dict = {}\n \n def calculateFieldLibraryID(id):\n - # For each skin folder, there could be at most one Field Library\n # The field library name could be automatically calculated or hardcoded in\n # the script\n return field_library_id_dict.get(id) or \'Base_view%sFieldLibrary\' % \\\n @@ -157,6 +156,10 @@ for skin_folder_id in skin_id_list:\n ):\n modified_object_dict[field_path] = (\'2_unproxify_field\',\n template_id)\n + elif field.delegated_list:\n + # Found some delegated list\n + modified_object_dict[field_path] = (\n + \'0_check_delegated_value\', template_id)\n else:\n # Do not force proxification of field library field.\n # The nice developper probably have a good reason not to do it.\n diff --git a/bt5/erp5_forge/bt/revision b/bt5/erp5_forge/bt/revision index 77555c31de..f520b6ed4c 100644 --- a/bt5/erp5_forge/bt/revision +++ b/bt5/erp5_forge/bt/revision @@ -1 +1 @@ -529 \ No newline at end of file +530 \ No newline at end of file -- 2.30.9