diff --git a/product/ERP5/Document/PDFDocument.py b/product/ERP5/Document/PDFDocument.py
index 61df012fd66518fa8098a35dd9e532449de23619..d8e917668ffc5cfa1db993448f6d842093532a7b 100644
--- a/product/ERP5/Document/PDFDocument.py
+++ b/product/ERP5/Document/PDFDocument.py
@@ -153,6 +153,15 @@ class PDFDocument(Image, ConversionCacheMixin):
     h = h.replace('<BODY bgcolor="#A0A0A0"', '<BODY ') # Quick hack to remove bg color - XXX
     return h
 
+  security.declareProtected(Permissions.AccessContentsInformation, 'hasBaseData')
+
+  def hasBaseData(self):
+    """
+    This method is an override of dynamically generated method for Document
+    class.Because PDFDocument does not use baae_data to store raw data.
+    """
+    return self.get_size()>0 
+
   security.declareProtected(Permissions.AccessContentsInformation, 'getContentInformation')
   def getContentInformation(self):
     """