I am customizing a QWeb PDF report in Odoo17 (Delivery Slip).
My problem: the footer does not stay at the bottom of the page.
- If I use margin-top, it works but it is hard-coded and breaks when content is long/short.
- If I use position:absolute; bottom:0, with relative to the page, the footer sticks to the bottom of only the first page.
- I tried using position : fixed, bottom:0, the footer disappears
- I also tried using odoo built in class footer and the footer disappears
Note: The content is dynamically rendered by the one2many tree inside delivery order
Here's my simplified code:
<div class="page">
<div class="container">
<!-- report content / table -->
</div>
<div class="custom-footer">
<p>Notes: ...</p>
<p>Signature: ...</p>
</footer>
</div>