diff --git a/product/ERP5OOo/Document/OOoDocument.py b/product/ERP5OOo/Document/OOoDocument.py
index 17d20568dd8e9815f9d47c0f35ef55ace0cbcae9..6df1277a5e3c919712e01e73aeb085fb002a1c01 100644
--- a/product/ERP5OOo/Document/OOoDocument.py
+++ b/product/ERP5OOo/Document/OOoDocument.py
@@ -143,7 +143,10 @@ class OOoDocument(File, ConversionCacheMixin):
     File._setFile(self, data, precondition=precondition)
     if self.hasBaseData():
       # This is a hack - XXX - new accessor needed to delete properties
-      delattr(self, 'base_data')
+      try:
+        delattr(self, 'base_data')
+      except AttributeError:
+        pass
 
   security.declareProtected(Permissions.View, 'index_html')
   def index_html(self, REQUEST, RESPONSE, format=None, display=None, **kw):