diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getModifiedObject.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getModifiedObject.xml
index 341dc7583fedc447e9164916678555459bc57e8b..2df4037ab6fc231ebdaacee57b9669bdfc068f8b 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getModifiedObject.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getModifiedObject.xml
@@ -108,7 +108,7 @@ for object_id in keys:\n
                 object_state=object_state,\n
                 object_class=object_class,\n
                 choice_item_list=choice_item_list)\n
-  line.setUid(\'new_%s\' % object_id)\n
+  line.setUid(\'new_%s\' % str(object_id))\n
   object_list.append(line)\n
   i += 1                                  \n
 \n
diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_getModifiedObjectList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_getModifiedObjectList.xml
index ce3f1b98225cedeb606c0331b0568d8f55c9bf46..5c43bfa54d92ad848174c5037312912ec9d2afaa 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_getModifiedObjectList.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_getModifiedObjectList.xml
@@ -138,7 +138,7 @@ for bt in bt_id_list:\n
                   object_state=object_state, \n
                   object_class=object_class, \n
                   choice_item_list=[[save_and_remove_title, \'save_and_remove\']])\n
-    line.setUid(\'new_%s\' % object_id)\n
+    line.setUid(\'new_%s\' % str(object_id))\n
     object_list.append(line)\n
   i += 1 \n
 \n
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 9e3bbfb4f52e3c634004ccc2b8bc6e170728bc5d..0ef1886d2092e3d805e99185f1608ff8b62cb531 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-1329
\ No newline at end of file
+1330
\ No newline at end of file