diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index 96771bd7bd6876bc89439f7e0456f679ef876f11..913af7f7a94f0d65560e7be66511e698877e182d 100755 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -734,6 +734,7 @@ class PathTemplateItem(ObjectTemplateItem): for relative_url in self._resolvePath(p, [], path.split('/')): obj = p.unrestrictedTraverse(relative_url) obj = obj._getCopy(context) + obj = obj.__of__(context) id_list = obj.objectIds() obj = self.removeProperties(obj) if hasattr(aq_base(obj), 'groups'):