Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
8689 Vistas



We only want to show the company address on first page, but odoo is printing header on each page.




Avatar
Descartar
Mejor respuesta

Hi, there's an addon approved by OCA named \"Report Qweb Element Page Visibility",
This module adds classes such as "first-page" to suits your needs.  This module supports upto v10, if you need v11, just change the report module name to web.

You will need to either Create your new layout or override the existing "web.external_layout".

Based on the layout style setting, the "web.external_layout" will call layout styles such as "external_layout_standard" or "external_layout_clean">

In the layout style, add attribute class="first-page", it will look similar to this<div class="first-page col-xs-5 col-xs-offset-1" name="company_address">

 


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
abr 25
1149
2
mar 25
1284
4
nov 24
7030
1
mar 24
1953
3
sept 23
24720