diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createNewDocument.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createNewDocument.xml
index 39d122d154f4d8361d5727fbc8c70f029c67d465..63d436753ab50d1399c00192e06d6225f10b5609 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createNewDocument.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_createNewDocument.xml
@@ -76,13 +76,18 @@ parent = context.aq_parent\n
 \n
 # XXX May be this need to be changed in order to get something else than\n
 # the permission "Add portal content"\n
-new_id = parent.generateNewId()\n
-context.portal_types.constructContent(type_name=context.portal_type,\n
+if not parent.allowedContentTypes():\n
+  return context.ERP5XhtmlStyle_redirect(\'%s/%s/view\' % (parent.getUrl(), context.getId()), \n
+                                         keep_items={\'portal_status_message\': N_("You are not allowed to add new content in this context.")})\n
+  \n
+else:\n
+  new_id = parent.generateNewId()\n
+  context.portal_types.constructContent(type_name=context.portal_type,\n
                         container=parent,\n
                         id=str(new_id),\n
                         RESPONSE=REQUEST.RESPONSE)\n
-\n
-return context.ERP5XhtmlStyle_redirect(\'%s/%s/view\' % (parent.getUrl(), new_id), keep_items={\'portal_status_message\': N_("Object Created.")})\n
+  return context.ERP5XhtmlStyle_redirect(\'%s/%s/view\' % (parent.getUrl(), new_id), \n
+                                         keep_items={\'portal_status_message\': N_("Object Created.")})\n
 </string> </value>
         </item>
         <item>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
index 6e16ebf9e9b0d51c9d894320b64a380e9dac6a5c..274ccca8ac98c5054b0d25975485dfad65ac8673 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
@@ -1 +1 @@
-208
\ No newline at end of file
+209
\ No newline at end of file
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/short_title b/product/ERP5/bootstrap/erp5_xhtml_style/bt/short_title
new file mode 100644
index 0000000000000000000000000000000000000000..4af18322e32f3dd19579c80e26e4a306ad11e049
--- /dev/null
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/short_title
@@ -0,0 +1 @@
+None
\ No newline at end of file