[Erp5-report] r15966 - /erp5/trunk/products/ERP5Type/Base.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Aug 30 18:38:52 CEST 2007
Author: jerome
Date: Thu Aug 30 18:38:51 2007
New Revision: 15966
URL: http://svn.erp5.org?rev=15966&view=rev
Log:
getTranslatedId will now return an utf8 string, like all other getTranslated
methods.
Modified:
erp5/trunk/products/ERP5Type/Base.py
Modified: erp5/trunk/products/ERP5Type/Base.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Base.py?rev=15966&r1=15965&r2=15966&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Base.py (original)
+++ erp5/trunk/products/ERP5Type/Base.py Thu Aug 30 18:38:51 2007
@@ -2164,7 +2164,7 @@
if ptype_translation_dict is not None:
id_ = self.getId()
if id_ in ptype_translation_dict:
- return Message('erp5_ui', ptype_translation_dict[id_])
+ return str(Message('erp5_ui', ptype_translation_dict[id_]))
security.declareProtected(Permissions.AccessContentsInformation,
More information about the Erp5-report
mailing list