Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
8715 Zobrazení



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




Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
dub 25
1183
2
bře 25
1318
4
lis 24
7046
1
bře 24
1959
3
zář 23
24752