From a42fc74ed820432038edf32500f44ae40700371a Mon Sep 17 00:00:00 2001 From: Yusei Tahara <yusei@nexedi.com> Date: Tue, 18 Nov 2008 08:24:48 +0000 Subject: [PATCH] 2008-11-18 yusei * Convert cell data to string explicitly. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24620 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../SkinTemplateItem/portal_skins/erp5_ods_style/form_view.xml | 2 +- bt5/erp5_ods_style/bt/change_log | 3 +++ bt5/erp5_ods_style/bt/revision | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_view.xml b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_view.xml index 47747944cb..e42c1cc85d 100644 --- a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_view.xml +++ b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_view.xml @@ -114,7 +114,7 @@ dQEAAAAA</string> </value> </text:p>\n <tal:block tal:condition="python: value != \'\'">\n <text:p tal:condition="item_list"\n - tal:content="python: [i[0].replace(\'&\', \'\') for i in item_list if i[1] == value][0]">\n + tal:content="python: [str(i[0]).replace(\'&\', \'\') for i in item_list if i[1] == value][0]">\n </text:p>\n </tal:block>\n <tal:block tal:condition="python: value is None">\n diff --git a/bt5/erp5_ods_style/bt/change_log b/bt5/erp5_ods_style/bt/change_log index 49dd2e787b..b12a1b91ae 100644 --- a/bt5/erp5_ods_style/bt/change_log +++ b/bt5/erp5_ods_style/bt/change_log @@ -1,3 +1,6 @@ +2008-11-18 yusei +* Convert cell data to string explicitly. + 2008-11-13 yusei * Start to develop version 5.4. diff --git a/bt5/erp5_ods_style/bt/revision b/bt5/erp5_ods_style/bt/revision index b00047941a..9da06a1833 100644 --- a/bt5/erp5_ods_style/bt/revision +++ b/bt5/erp5_ods_style/bt/revision @@ -1 +1 @@ -159 \ No newline at end of file +160 \ No newline at end of file -- 2.30.9