Commit 61c305f4 authored by Jérome Perrin's avatar Jérome Perrin

use getParentValue instead of getParent



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10146 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1cb0c529
......@@ -281,7 +281,7 @@ class Signature(Folder,SyncCode):
# XXX This may be a problem, if the document is changed
# during a synchronization
self.setLastSynchronizationDate(DateTime())
self.getParent().removeRemainingObjectPath(self.getPath())
self.getParentValue().removeRemainingObjectPath(self.getPath())
if status == self.NOT_SYNCHRONIZED:
self.setTempXML(None)
self.setPartialXML(None)
......@@ -536,7 +536,7 @@ class Signature(Folder,SyncCode):
"""
Returns the object corresponding to this signature
"""
return self.getParent().getObjectFromGid(self.getGid())
return self.getParentValue().getObjectFromGid(self.getGid())
def checkSynchronizationNeeded(self, object):
"""
......
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