diff --git a/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_sort.xml b/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_sort.xml
index 171f7905dd37f1b50265a3eaf0b4964b717bc07e..a544874f8e3a27569ca17ac871f41ec9c2ff6ae8 100644
--- a/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_sort.xml
+++ b/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_sort.xml
@@ -100,7 +100,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
             <tal:block i18n:translate="" i18n:domain="ui">Sort</tal:block>\n
             <span tal:replace="row_index" />\n
           </td>\n
-          <td>\n
+          <td id="sort_on_0" tal:attributes=\'id python:"sort_on_%d" % row_index\'>\n
             <select name="field_sort_on">\n
               <span tal:repeat="option python: [(\'None\',\'None\')] + all_columns">\n
               <option tal:condition="python:option[0]==item[0]"\n
@@ -117,7 +117,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
               </span>\n
             </select>\n
           </td>\n
-          <td>\n
+          <td id="sort_order_0" tal:attributes=\'id python:"sort_order_%d" % row_index\'>\n
             <span tal:replace="structure python:form.sort_order.render(item[1], request)" />\n
           </td>\n
         </tr>\n
@@ -128,7 +128,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
             <tal:block i18n:translate="" i18n:domain="ui">Sort</tal:block>\n
             <span tal:replace="row_index" />\n
           </td>\n
-          <td>\n
+          <td id="sort_on_0" tal:attributes=\'id python:"sort_on_%d" % row_index\'>\n
             <select name="field_sort_on">\n
               <option selected value="None">None</option>\n
               <option tal:repeat="option all_columns"\n
@@ -138,7 +138,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
                  value="None"></option>\n
             </select>\n
           </td>\n
-          <td>\n
+          <td id="sort_order_0" tal:attributes=\'id python:"sort_order_%d" % row_index\'>\n
             <span tal:replace="structure python:form.sort_order.render(\'\', request)" />\n
           </td>\n
         </tr>\n
diff --git a/product/ERP5/bootstrap/erp5_html_style/bt/change_log b/product/ERP5/bootstrap/erp5_html_style/bt/change_log
index 5dcf985d5fa30384506527eee244cdc0148bf41f..ba264a06b7013c79da390a020fe7ce8ae4cac280 100644
--- a/product/ERP5/bootstrap/erp5_html_style/bt/change_log
+++ b/product/ERP5/bootstrap/erp5_html_style/bt/change_log
@@ -1,3 +1,6 @@
+2006-04-27 yo
+* Generate ids for table data in form_sort, to east functional testing.
+
 2006-04-27 yo
 * Embed the query string in a request int the resulting HTML in form_html, list_dialog_master, list_master and view_master.