تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
8710 أدوات العرض



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




الصورة الرمزية
إهمال
أفضل إجابة

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

 


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أبريل 25
1176
2
مارس 25
1312
4
نوفمبر 24
7042
1
مارس 24
1957
3
سبتمبر 23
24742