Commit 2e923b35 authored by Nicolas Delaby's avatar Nicolas Delaby

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
parent 4092e9b4
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment