Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
8687 Lượt xem



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




Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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">

 


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 25
1142
2
thg 3 25
1284
4
thg 11 24
7030
1
thg 3 24
1952
3
thg 9 23
24720