diff --git a/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/ListBox_getColumnWithDict.xml b/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/ListBox_getColumnWithDict.xml index b8a9b3eb10b648ce6e4202ec54b354612af87428..9c34b55ca7594b00a34155ed8494420e7a008128 100644 --- a/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/ListBox_getColumnWithDict.xml +++ b/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/ListBox_getColumnWithDict.xml @@ -157,13 +157,14 @@ for listboxline in listboxline_list:\n elif isinstance(column_property, DateTime):\n string_property = column_property.strftime(\'%Y/%m/%d+++++\')\n else:\n - string_property = str(column_property or \'\')\n + string_property = str(column_property or \'\')[:50]\n if listboxline.isStatLine():\n string_property = "%s+++++" % string_property\n elif listboxline.isTitleLine():\n - string_property = "%s++++++++" % str(N_(string_property))\n + string_property = ("%s++++++++" % str(N_(string_property)))[:30]\n new_column_max_len = max(len(string_property),\n max_line_len.get(column_id, 0))\n + \n update_dict = {}\n update_dict[column_id] = new_column_max_len\n max_line_len.update(update_dict)\n diff --git a/bt5/erp5_pdf_style/bt/revision b/bt5/erp5_pdf_style/bt/revision index 7d37386284a97324cbac474cb5ea5360d361d104..801f1801027f3350b08ad85c984db805cd32e736 100644 --- a/bt5/erp5_pdf_style/bt/revision +++ b/bt5/erp5_pdf_style/bt/revision @@ -1 +1 @@ -45 \ No newline at end of file +47 \ No newline at end of file