Commit Graph

8 Commits

Author SHA1 Message Date
Héctor Vi Or
4f10eaad31 [IMP] pre-commit lint 2023-11-07 14:20:35 +01:00
OCA-git-bot
d6e5ecef61 Merge PR #701 into 14.0
Signed-off-by thomaspaulb
2023-07-02 19:20:43 +00:00
sbejaoui
63042284e9 [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.
2022-12-14 10:57:50 -10:00
AlienAtSystem
f8bcecd6d1 [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.
2021-09-27 12:38:55 +02:00
ps-tubtim
2dc7c5a472 [IMP] report_qweb_element_page_visibility: black, isort, prettier 2021-01-27 20:09:35 +07:00
Ioan Galan
7f44fddda4 [FIX] report_qweb_element_page_visibility: Correct page visibility comparision 2021-01-27 20:09:35 +07:00
Saran L
d4664ad2b2 [12.0][MIG] report_qweb_element_page_visibility 2021-01-27 20:09:35 +07:00
Sebastien LANGE
bcaadff090 [IMP] Replace <openerp> by <odoo> and review indentation in xml file 2021-01-27 20:09:35 +07:00