diff --git a/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml b/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml index 9dcc4b76b2f726e47361770cc2b1f9aa3a52a623..0edc2c5a892bbecd80c767eb6cb3b1dfa9f0aeaa 100644 --- a/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml +++ b/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/form_view.xml @@ -84,6 +84,7 @@ tal:content="python: str(item)"\n tal:condition="not:item_list"/>\n <para style="TableStandard"\n + tal:on-error="string: ${value} (???)"\n tal:content="python: [i[0] for i in item_list if i[1] == item][0]"\n tal:condition="item_list" />\n </tal:block>\n @@ -93,6 +94,7 @@ tal:content="python: str(value)"\n tal:condition="not:item_list" />\n <para style="TableStandard"\n + tal:on-error="string: ${value} (???)"\n tal:content="python: [i[0].replace(\'&nbsp;\', \'\') for i in item_list if i[1] == value][0]"\n tal:condition="item_list" />\n </tal:block>\n diff --git a/bt5/erp5_pdf_style/bt/revision b/bt5/erp5_pdf_style/bt/revision index 7c6ba0fe181de786f8f09b1b8cc1ad6bbc1dd5a4..2ebc6516c7df177c819b752dfac7b5ce5064189f 100644 --- a/bt5/erp5_pdf_style/bt/revision +++ b/bt5/erp5_pdf_style/bt/revision @@ -1 +1 @@ -55 \ No newline at end of file +56 \ No newline at end of file