Contributors mailing list archives

Browse archives


Paperformat issues (Odoo14)

Francesco Ballerini
- 07/06/2024 12:11:09


I am using this module report_qweb_element_page_visibility to be able to show footer conditionally in reports, but I'm having issues with paperformat.

I need to define  a "margin botton" paperformat parameter in order to let the footer get the proper space when it needs to be rendered, although by defining a static paperformat margin bottom the space of the footer will always be occupied in the report, even if the footer is not displayed by the class last-page/first-page

So the OCA module works properly, but I think that the margin bottom paperformat parameter is not flexible enough to support this situation.

Did you ever come up with a solution to this ? Any kind of workaround is fine :)

Thank you
Francesco Ballerini