diff --git a/product/ERP5SyncML/Document/SyncMLSubscription.py b/product/ERP5SyncML/Document/SyncMLSubscription.py index a117843fd42b7586d0e60249712b02c6e784e41d..0f97bb3f9150441a4a11e7f6cc74cca099416c8b 100644 --- a/product/ERP5SyncML/Document/SyncMLSubscription.py +++ b/product/ERP5SyncML/Document/SyncMLSubscription.py @@ -463,8 +463,9 @@ class SyncMLSubscription(XMLObject): path_list.append(signature.getPath()) force = signature.isForce() # XXX-must check the use of this later else: - force = True # Always erease data in this mode - document = None # For now, do no try to retrieve previous version of document + force = True # Always erease data in this mod + document = self.getDocumentFromGid(gid) + #document = None # For now, do no try to retrieve previous version of document # XXX this has to be managed with a property # XXX Some improvement can also be done to retrieve a list of document at once