diff --git a/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_html.xml b/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_html.xml
index 1aeba40e04a04d67966eca5f0fe97ef27f911b8d..7512a0e87d1fee23c88242405d7c39565707f6fd 100644
--- a/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_html.xml
+++ b/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_html.xml
@@ -118,7 +118,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
          tal:attributes="href python: here.portal_url() + \'/\' + \'erp5_html.css\'" />\n
 \n
     <!-- taking \'planning_box\' in charge if exists -->\n
-    <tal:block tal:condition="exists: python:form.get_field(\'planning_box\')" tal:on-error="nothing">\n
+    <tal:block tal:condition="python:form.has_field(\'planning_box\')">\n
        <tal:block tal:define="planning_box1 python:form.get_field(\'planning_box\');dummy python:request.set(\'here\',here)" >\n
           <style tal:content="structure python: planning_box1.render_css(None,REQUEST=request)"/>\n
        </tal:block>\n
diff --git a/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/view_master.xml b/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/view_master.xml
index 61947dcae8bc9bc3f740b7c6c867fec1d7d32818..3fca0f5873f6fbc43f79d46c5772dd1e04745b78 100644
--- a/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/view_master.xml
+++ b/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/view_master.xml
@@ -108,7 +108,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
          tal:attributes="href python: here.portal_url() + \'/\' + \'erp5.css\'" />\n
 \n
 \n
-   <tal:block tal:condition="exists: python:form.get_field(\'planning_box\')" tal:on-error="nothing">\n
+   <tal:block tal:condition="python:form.has_field(\'planning_box\')">\n
       <tal:block tal:define="planning_box1 python:form.get_field(\'planning_box\');dummy python:request.set(\'here\',here)" >\n
         <style tal:content="structure python: planning_box1.render_css(None,REQUEST=request)"/>\n
       </tal:block>\n