[Erp5-report] r11684 - /erp5/trunk/products/ERP5Type/XMLObject.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Dec 12 12:00:45 CET 2006
Author: bartek
Date: Tue Dec 12 12:00:36 2006
New Revision: 11684
URL: http://svn.erp5.org?rev=11684&view=rev
Log:
Added minimalist import method.
Modified:
erp5/trunk/products/ERP5Type/XMLObject.py
Modified: erp5/trunk/products/ERP5Type/XMLObject.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/XMLObject.py?rev=11684&r1=11683&r2=11684&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/XMLObject.py (original)
+++ erp5/trunk/products/ERP5Type/XMLObject.py Tue Dec 12 12:00:36 2006
@@ -77,7 +77,9 @@
"""
Replace the content of this object by providing an xml content
"""
- pass
+ from Products.ERP5SyncML.Conduit.ERP5Conduit import ERP5Conduit
+ conduit = ERP5Conduit()
+ self.getParentValue().addNode(object=self, xml=xml, object_id=self.getId())
# Hash method
def __hash__(self):
More information about the Erp5-report
mailing list