diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getCurrentAction.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getCurrentAction.xml
index 030d585f17eb513adb14f6ecc25f80139a33dfee..807a6ba6a2e78d8939fb1562983533f0ccc950e4 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getCurrentAction.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_getCurrentAction.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.PythonScripts.PythonScript</string>
-          <string>PythonScript</string>
-        </tuple>
-        <none/>
+        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -75,7 +72,8 @@
 \n
 for action_list in actions.values():\n
   for action in action_list:\n
-   if current_url == action[\'url\'].split(\'?\')[0]:\n
+   if action[\'category\'] in (\'object_view\', \'object_button\') and \\\n
+       current_url == action[\'url\'].split(\'?\')[0]:\n
      return action\n
 return None\n
 
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 00607554c69b5eef758dc04a2eaaf87137dc40f3..6f210dddb2a13d7bad91fcd05907f6a778cc022a 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-718
\ No newline at end of file
+721