Commit Graph

7 Commits

Author SHA1 Message Date
sbejaoui
c03e250762 [IMP] - use display for element visibility
the visibility attribute with the hidden option hides the element but
don't free the space.

A common use case is to have a specific header for the first page and
another for the other pages. With visibility: hidden the second header
cannot take the first one place and will keep a huge margin.
One solution is to use the display:none instead.
2024-05-24 13:25:21 +02:00
AlienAtSystem
b64e9f5cc5 [ADD] 'single-page' and 'multi-page' classes in report_qweb_element_page_visibility module
These classes cause the element to be visible when the document is only a single page long (for single-page) or when it's multiple pages long (for multi-page). This is especially useful for page counters, which can be hidden when there's only a single page.
2023-03-23 15:37:52 +00:00
Hai Lang
071f2fa02d [MIG] report_qweb_element_page_visibility: Migration to 15.0 2023-01-20 10:49:19 +00:00
ps-tubtim
53454b601e [IMP] report_qweb_element_page_visibility: black, isort, prettier 2023-01-20 10:49:19 +00:00
Ioan Galan
3051115947 [FIX] report_qweb_element_page_visibility: Correct page visibility comparision 2023-01-20 10:49:19 +00:00
Saran L
8a18aaa641 [12.0][MIG] report_qweb_element_page_visibility 2023-01-20 10:49:19 +00:00
Sebastien LANGE
bfbe4bff5c [IMP] Replace <openerp> by <odoo> and review indentation in xml file 2023-01-20 10:44:18 +00:00