i want to remove the table headings when moving the table data rows to second page. it may be conditionally , or remove table headings, Can anyone know this method???
لقد تم الإبلاغ عن هذا السؤال
2
الردود
781
أدوات العرض
Hello Kalana Piyumantha,
I hope you are doing well
Fix: Replace <thead> with <tbody> for your header row - browsers only repeat <thead> on page breaks.
Or add CSS: thead { display: table-row-group; }
I hope this information helps to you
Thanks & Regards,
Kunjan Patel
Hi,
Removing table headings when table data rows move to a second page in Odoo reports is not a standard, configurable feature. Odoo's default PDF reports are designed to repeat table headers on every page for readability. To achieve this conditional removal, you would need to engage in custom development, which involves identifying and duplicating the relevant QWeb report template, then modifying its XML code. This is a complex task because QWeb templates don't natively detect page breaks, often requiring custom Python code to pre-process data and pass flags to the template for conditional rendering.
Hope it helps
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
|
2
مارس 26
|
1009 | ||
|
|
3
مارس 26
|
1115 | ||
|
|
1
مايو 24
|
4960 | ||
|
|
1
يوليو 23
|
13147 | ||
|
Static table in qweb report?
تم الحل
|
|
1
مايو 20
|
8911 |