Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3371 Weergaven

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
Annuleer
Auteur

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

Gerelateerde posts Antwoorden Weergaven Activiteit
2
nov. 16
5956
3
jun. 24
2460
6
jun. 24
8676
1
jun. 23
3020
0
sep. 22
2388