From be90266e44a89e531adca07dc10346d63b93ddbc Mon Sep 17 00:00:00 2001 From: Nicolas Dumazet <nicolas.dumazet@nexedi.com> Date: Thu, 3 Feb 2011 22:16:56 +0000 Subject: [PATCH] be symmetric since we delete using _delOb, set with _setOb in order not to unregister the object from its parent _objects attribute git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43004 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index 0c0e33e2d1..cba2b8c34e 100644 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -3904,7 +3904,7 @@ class Base( CopyContainer, except AttributeError: return id = self.getId() - parent._delObject(id) + parent._delOb(id) parent._setOb(id, self) security.declareProtected(Permissions.DeletePortalContent, -- 2.30.9