From 2e923b35e6885aba780e6fcafe8d34efdd58f2be Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Mon, 13 Aug 2007 11:00:53 +0000 Subject: [PATCH] Use Conduit to add new object, bug fixes by Aissam git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15625 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/XMLObject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/XMLObject.py b/product/ERP5Type/XMLObject.py index a7f90c1422..9b96bbdb7a 100644 --- a/product/ERP5Type/XMLObject.py +++ b/product/ERP5Type/XMLObject.py @@ -117,7 +117,7 @@ class XMLObject( Folder ): """ from Products.ERP5SyncML.Conduit.ERP5Conduit import ERP5Conduit conduit = ERP5Conduit() - self.getParentValue().addNode(object=self, xml=xml, object_id=self.getId()) + conduit.addNode(object=self, xml=xml) # Hash method def __hash__(self): -- 2.30.9