diff --git a/product/ERP5/Document/Domain.py b/product/ERP5/Document/Domain.py
index 7d08e5bdc6a5691f955addc615ca862333e8a894..dfb5c91cfcbddcd6ba1e78a3cc77474a5683d05e 100644
--- a/product/ERP5/Document/Domain.py
+++ b/product/ERP5/Document/Domain.py
@@ -105,7 +105,7 @@ class Domain(Predicate, MetaNode, MetaResource):
     We need a way to know how deep we are in the domain generation
     to prevent infinite recursion XXX not implemented
     """
-    klass = tmp_domain_generator = self.newContent(portal_type='Domain', temp_object=1)
+    klass = tmp_domain_generator = self.newContent(portal_type='DomainGenerator', temp_object=1)
     script = self.getDomainGeneratorMethodId('')
     return tmp_domain_generator.getDomainGeneratorList(depth=depth, klass=klass, script=script, parent=self)