Skip to content

Conversation

@BT-dlagin
Copy link
Contributor

No description provided.

Sebastien LANGE and others added 27 commits December 5, 2024 14:24
…age_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.
@BT-dlagin
Copy link
Contributor Author

@OCA/reporting-engine-maintainers hello, can somebody do a review for me?
Thanks! :)

@BT-dlagin BT-dlagin mentioned this pull request Jan 7, 2025
20 tasks
Copy link
Member

@StefanRijnhart StefanRijnhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please include #882. If you port a module, it is always a good idea to review open, as well as recently merged PRs. That's how I found this one.
When you pick the commit from #882, do change the commit message to feature the module name.

…sibility

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.
@BT-dlagin
Copy link
Contributor Author

Please include #882. If you port a module, it is always a good idea to review open, as well as recently merged PRs. That's how I found this one. When you pick the commit from #882, do change the commit message to feature the module name.

Hello, thanks for your reply.
Cherry pick is done.
Asked for review, thanks!

Copy link
Member

@StefanRijnhart StefanRijnhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thank you for picking the fix from #882!

Functional test and code review.

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@pedrobaeza
Copy link
Member

/ocabot migration report_qweb_element_page_visibility
/ocabot merge nobump

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Mar 10, 2025
@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 18.0-ocabot-merge-pr-956-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 18e12eb into OCA:18.0 Mar 10, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at ea7182d. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.