Commit Graph

11 Commits

Author SHA1 Message Date
OCA-git-bot
d854932280 Merge PR #781 into 15.0
Signed-off-by HviorForgeFlow
2023-08-09 07:32:43 +00:00
sbejaoui
9f06f3b1d3 [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.
2023-08-08 09:46:07 -10:00
Cyril VINH-TUNG
74be1eb57e Revert "[IMP] - use display for element visibility"
This reverts commit 22378d9dfc.
The cherry pick was wrong
2023-08-08 09:09:57 -10:00
OCA-git-bot
d2ddc7f2ef Merge PR #702 into 15.0
Signed-off-by thomaspaulb
2023-07-02 19:21:18 +00:00
AlienAtSystem
059e8d4ec2 [ADD] page-count classes for element visibility
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-20 11:10:24 +01:00
sbejaoui
22378d9dfc [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-21 06:20:54 -10:00
Hai Lang
fb8a853e18 [MIG] report_qweb_element_page_visibility: Migration to 15.0 2022-07-15 10:22:12 +07:00
ps-tubtim
79628e3edb [IMP] report_qweb_element_page_visibility: black, isort, prettier 2022-07-05 15:36:08 +07:00
Ioan Galan
ae2b84052e [FIX] report_qweb_element_page_visibility: Correct page visibility comparision 2022-07-05 15:36:08 +07:00
Saran L
8a51bc69ba [12.0][MIG] report_qweb_element_page_visibility 2022-07-05 15:36:08 +07:00
Sebastien LANGE
95e009f55a [IMP] Replace <openerp> by <odoo> and review indentation in xml file 2022-07-05 15:36:08 +07:00