diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py
index d67ec13127bf5a22a23fd41754444d7ffeac0be4..8ab486efebd9d21b4614910f69864525616ac276 100644
--- a/product/ERP5Type/Base.py
+++ b/product/ERP5Type/Base.py
@@ -1949,7 +1949,10 @@ class Base( CopyContainer,
       Returns the dictionnary of the object
       Only for debugging
     """
-    return copy(self.__dict__)
+    d = copy(self.__dict__)
+    klass = self.__class__
+    d['__class__'] = '%s.%s' % (klass.__module__, klass.__name__)
+    return d
 
   security.declareProtected( Permissions.ManagePortal, 'showPermissions' )
   def showPermissions(self, all=1):