diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Predicate_edit.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Predicate_edit.xml
index d28eae1f648b1c3919a4209cea3de57719c7b725..ca6aec4673e761291c08c52fad57c39e95f5d911 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Predicate_edit.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Predicate_edit.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>
@@ -68,17 +65,15 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string encoding="cdata"><![CDATA[
-
-# Updates attributes of an Zope document\n
+            <value> <string># Updates attributes of an Zope document\n
 # which is in a class inheriting from ERP5 Base\n
 #\n
 # TODO\n
 #   - Implement validation of matrix fields\n
 #   - Implement validation of list fields\n
 #\n
-\n
 from Products.Formulator.Errors import ValidationError, FormValidationError\n
+from ZTUtils import make_query\n
 \n
 request=context.REQUEST\n
 \n
@@ -121,24 +116,28 @@ except FormValidationError, validation_errors:\n
   return form(request)\n
 else:\n
   if not selection_index:\n
-    redirect_url = \'%s/%s?%s\' % ( context.absolute_url()\n
-                              , form_id\n
-                              , \'portal_status_message=Data+Updated.\'\n
-                              )\n
+    redirect_url = \'%s/%s?%s\' % (\n
+      context.absolute_url(),\n
+      form_id,\n
+      make_query({\'ignore_layout\':ignore_layout,\n
+                  \'editable_mode\':editable_mode,\n
+                  \'portal_status_message\':\'Data Updated.\',\n
+                  })\n
+      )\n
   else:\n
-    redirect_url = \'%s/%s?selection_index=%s&selection_name=%s&%s\' % ( context.absolute_url()\n
-                              , form_id\n
-                              , selection_index\n
-                              , selection_name\n
-                              , \'portal_status_message=Data+Updated.\'\n
-                              )\n
-\n
-\n
+    redirect_url = \'%s/%s?%s\' % (\n
+      context.absolute_url(),\n
+      form_id,\n
+      make_query({\'selection_index\':selection_index,\n
+                  \'selection_name\':selection_name,\n
+                  \'ignore_layout\':ignore_layout,\n
+                  \'editable_mode\':editable_mode,\n
+                  \'portal_status_message\':\'Data Updated.\',\n
+                  })\n
+      )\n
 \n
 request[ \'RESPONSE\' ].redirect( redirect_url )\n
-
-
-]]></string> </value>
+</string> </value>
         </item>
         <item>
             <key> <string>_code</string> </key>
@@ -188,6 +187,8 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n
                             <string>Products.Formulator.Errors</string>
                             <string>ValidationError</string>
                             <string>FormValidationError</string>
+                            <string>ZTUtils</string>
+                            <string>make_query</string>
                             <string>_getattr_</string>
                             <string>context</string>
                             <string>request</string>
diff --git a/product/ERP5/bootstrap/erp5_core/bt/change_log b/product/ERP5/bootstrap/erp5_core/bt/change_log
index 4f6c1d369e570df59ea8da63119d6e5c4e12b892..c54606c0139d40b114d4995a505ffadbc153afdb 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/change_log
+++ b/product/ERP5/bootstrap/erp5_core/bt/change_log
@@ -1,3 +1,6 @@
+2007-11-29 yusei
+* Fixed Predicate_edit to use ignore_layout and editable_mode parameters in redirect url.
+
 2007-11-19 yusei
 * Switch off acquire_local_roles on Simulation Movement.
 
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 73623d101c44dc8d5e30c594bae377cec800fe03..e88ff725aa658875592c48db3d8326e3c495477e 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-600
\ No newline at end of file
+602
\ No newline at end of file