Ir al contenido
Menú
Se marcó esta pregunta
900 Vistas

Hello,

in the report_saleorder_document, when print is on several pages, the company logo is printed on the top of the page and then the rest of the document.

My problem is that there is no space between the logo and the rest of the document.

How is it possible to increase this margin


For information, i override the view web.external_layout_standard and add the below code :


xpath expr="//t/div/div" position="after">

            div class="row">

                div class="col-3 mb4">

                    img t-if="company.logo_header" t-att-src="image_data_uri(company.logo_header)" style="max-height: 45px;" alt="Logo"/>

                /div>

                div class="col-9 text-end" style="margin-top:22px; " t-field="company.report_header" name="moto"/>

            /div>

        /xpath>

        !--delete current logo-->            

        xpath expr="//t/div/div" position="replace"/>


I tried here to add in differents div, a margin-bottom but there is no difference

Avatar
Descartar