Skip to Content
Menu
This question has been flagged
2426 Views

My footer on the document template does not work, when calling o_boxed_footer. o_background_footer does work.

DOES NOT WORK:

        <div class="footer o_boxed_footer">

            <div class="text-center">

                <ul class="list-inline">

                    <li t-if="company.phone" class="list-inline-item">Tel: <span t-field="company.phone"/></li>

                    <li t-if="company.email" class="list-inline-item">Mail: <span t-field="company.email"/></li>

                    <li t-if="company.website" class="list-inline-item">Web: <span t-field="company.website"/></li>

                    <li t-if="company.vat" class="list-inline-item"><t t-esc="company.country_id.vat_label or 'Tax ID'"/>: <span t-field="company.vat"/></li>

                </ul>

                <div t-field="company.report_footer"/>

                <div t-if="report_type == 'pdf'">

                    Page: <span class="page"/> / <span class="topage"/>

                </div>

            </div>

        </div>


DOES WORK (but without layout)

        <div class="footer">

            <div class="text-center">

                <ul class="list-inline">

                    <li t-if="company.phone" class="list-inline-item">Tel: <span t-field="company.phone"/></li>

                    <li t-if="company.email" class="list-inline-item">Mail: <span t-field="company.email"/></li>

                    <li t-if="company.website" class="list-inline-item">Web: <span t-field="company.website"/></li>

                    <li t-if="company.vat" class="list-inline-item"><t t-esc="company.country_id.vat_label or 'Tax ID'"/>: <span t-field="company.vat"/></li>

                </ul>

                <div t-field="company.report_footer"/>

                <div t-if="report_type == 'pdf'">

                    Page: <span class="page"/> / <span class="topage"/>

                </div>

            </div>

        </div>


Where is o_box_footer defined, so that I can take a look at where the problem is?

Avatar
Discard
Author

I have tried:

- Updating to wkhtmltopdf 12.5

- Running in other VMware instance, where it works

- Restoring back-ups from working instances to this one, to no avail

Related Posts Replies Views Activity
2
Nov 16
4684
3
Jun 24
390
6
Jun 24
3488
1
Jun 23
1276
0
Sep 22
1199