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 1a9124708f30fec2047311642aa99ad4401b8ec4..de751ea9cb2cfb71a49b784d4ca52bd3781a11c4 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 @@ -68,7 +68,7 @@ tal:define="dummy python: request.set(\'here\',here); ">\n \n \n - <tal:block tal:repeat="group python: [\'Default\', \'left\', \'right\', \'center\']">\n + <tal:block tal:repeat="group python: [g for g in form.get_groups() if g not in (\'bottom\', \'hidden\')]">\n <tal:block tal:define="field_list python: form.get_fields_in_group(group)">\n <tal:block tal:condition="field_list">\n <table splitbyrow="1" repeatrows="0" repeatcols="0" style="AttributesTable" >\n diff --git a/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/report_view.xml b/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/report_view.xml index 18eb424235ea2a9beacf5d75f9793be5797e6505..958cc15bd6ba653679d8f54e30a2228a38aeba88 100644 --- a/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/report_view.xml +++ b/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/report_view.xml @@ -75,7 +75,7 @@ \n <spacer height="100" tal:condition="form/get_fields"/>\n \n - <tal:block tal:repeat="group python: [\'Default\', \'left\', \'right\', \'center\']">\n + <tal:block tal:repeat="group python: [g for g in form.get_groups() if g not in (\'bottom\', \'hidden\')]">\n <tal:block tal:define="field_list python: form.get_fields_in_group(group)">\n <tal:block tal:condition="field_list">\n \n diff --git a/bt5/erp5_pdf_style/bt/revision b/bt5/erp5_pdf_style/bt/revision index ac4213d6e97d9cfeb1d7bc8f948c06114a56de18..d2e1cefe89e17269cf846b1b537654757ac8b735 100644 --- a/bt5/erp5_pdf_style/bt/revision +++ b/bt5/erp5_pdf_style/bt/revision @@ -1 +1 @@ -43 \ No newline at end of file +44 \ No newline at end of file