diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml
index e19421f8e9bda7a1683da8c5ebcb18ac95ea00ec..ee721b0823a544fd269a08316f7a2054a78c22fe 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml
@@ -179,12 +179,14 @@
           <span class="image"></span>\n
           <span class="description" i18n:translate="" i18n:domain="ui">Print</span>\n
         </button>\n
-        <button class="new" type="submit" title="New"\n
-                tal:attributes="name python: list_mode and \'Folder_create:method\' or \'Base_createNewDocument:method\'"\n
-                i18n:attributes="title" i18n:domain="ui">\n
-          <span class="image"></span>\n
-          <span class="description" i18n:translate="" i18n:domain="ui">New</span>\n
-        </button>\n
+        <tal:block tal:condition="python: len(here.getVisibleAllowedContentTypeList()) > 0">\n
+          <button class="new" type="submit" title="New"\n
+                  tal:attributes="name python: list_mode and \'Folder_create:method\' or \'Base_createNewDocument:method\'"\n
+                  i18n:attributes="title" i18n:domain="ui">\n
+            <span class="image"></span>\n
+            <span class="description" i18n:translate="" i18n:domain="ui">New</span>\n
+          </button>\n
+        </tal:block>\n
         <button class="clone" type="submit" title="Clone"\n
                 name="Base_createCloneDocument:method"\n
                 tal:condition="not: list_mode"\n
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log b/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
index c0ba0c7ff06f52be0370d3b3777b550e59ccd7b3..ed0a60dde0891aa74d8de6ffabc372e272a525f9 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
@@ -1,3 +1,6 @@
+2010-01-07 Nicolas Dumazet
+* Dont show a New button if there are no Visible Allowed Content Types
+
 2009-12-11 Kazuhiko
 * update FCKeditor to 2.6.5.
 
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
index 1275ac80ab34cd97af8756ee407a6b8ffb5d9958..a0e999ab2831dde57811a032822b93512532bc9a 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
@@ -1 +1 @@
-859
\ No newline at end of file
+860
\ No newline at end of file