Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
3352 Prikazi

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
Opusti
Avtor

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 Odgovori Prikazi Aktivnost
2
nov. 16
5926
3
jun. 24
2392
6
jun. 24
8553
1
jun. 23
2997
0
sep. 22
2362