From 8199d7349948f3776a373c4859eed70cc954c937 Mon Sep 17 00:00:00 2001 From: Tatuya Kamada <tatuya@nexedi.com> Date: Mon, 16 Aug 2010 11:12:38 +0000 Subject: [PATCH] We must use unrestrictedResolveValue instead of restrictedResolveValue here, because of the BusinessTemplate responsibility. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37839 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/BusinessTemplate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index 4c98dad816..5015eb816c 100644 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -1219,7 +1219,7 @@ class ObjectTemplateItem(BaseTemplateItem): if recursive_path in update_dict: action = update_dict[recursive_path] if action in ('remove', 'save_and_remove'): - document = self.restrictedResolveValue(portal, recursive_path, None) + document = self.unrestrictedResolveValue(portal, recursive_path, None) if document is None: # It happens if the parent of target path is removed before continue -- 2.30.9