Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3393 Ansichten

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
Verwerfen
Autor

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Nov. 16
5992
3
Juni 24
2530
6
Juni 24
8828
1
Juni 23
3057
0
Sept. 22
2429