[Erp5-report] r29539 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Oct 9 16:39:06 CEST 2009


Author: fabien
Date: Fri Oct  9 16:39:04 2009
New Revision: 29539

URL: http://svn.erp5.org?rev=29539&view=rev
Log:
convert object_id to str. In this way, line uid will not be unicode, and can be concatenate with others ascii words (like it is in Products/Formulator/Widget.py l. 856)

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getModifiedObject.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_getModifiedObjectList.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getModifiedObject.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getModifiedObject.xml?rev=29539&r1=29538&r2=29539&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getModifiedObject.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getModifiedObject.xml [utf8] Fri Oct  9 16:39:04 2009
@@ -108,7 +108,7 @@
                 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

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_getModifiedObjectList.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_getModifiedObjectList.xml?rev=29539&r1=29538&r2=29539&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_getModifiedObjectList.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_getModifiedObjectList.xml [utf8] Fri Oct  9 16:39:04 2009
@@ -138,7 +138,7 @@
                   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

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=29539&r1=29538&r2=29539&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Fri Oct  9 16:39:04 2009
@@ -1,1 +1,1 @@
-1329
+1330




More information about the Erp5-report mailing list