Commit 53616d78 authored by Jérome Perrin's avatar Jérome Perrin

ERP5Type: remove unused some methods from XMLObject

parent 779c0415
Pipeline #25400 failed with stage
in 0 seconds
......@@ -92,22 +92,5 @@ class XMLObject( Folder ):
self._setDescription(value)
self.reindexObject()
security.declareProtected( Permissions.ModifyPortalContent, 'XUpdateDocument' )
def XUpdateDocument(self, xupdate):
"""
Update a document by providing an xupdate XML file
"""
pass
security.declareProtected( Permissions.ModifyPortalContent, 'fromXML' )
def fromXML(self, xml):
"""
Replace the content of this object by providing an xml content
"""
from erp5.component.module.ERP5Conduit import ERP5Conduit
conduit = ERP5Conduit()
conduit.addNode(object=self, xml=xml)
InitializeClass(XMLObject)
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