Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] base: take advantage of CSS media query (print) #163713

Open
wants to merge 1 commit into
base: 15.0
Choose a base branch
from

Conversation

wtaferner
Copy link
Contributor

Description of the issue/feature this PR addresses:
A PDF printout is basically printing a qweb template therefore it is legit to take advantage of the CSS media query argument to interpret CSS specifically to print.

Current behavior before PR:
No possibility to differentiate for PDF report layouts in CSS between screen and print.

Desired behavior after PR is merged:
Handle PDF reports as print designs.

Info: @wt-io-it


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

A PDF printout is basically printing a qweb template therefore it is legit to
take advantage of the CSS media query argument to interpret CSS specifically to
print.
@robodoo
Copy link
Contributor

robodoo commented Apr 29, 2024

@C3POdoo C3POdoo added the ORM ORM, python Framework related label Apr 29, 2024
@C3POdoo C3POdoo requested review from a team, xmo-odoo and HydrionBurst and removed request for a team April 29, 2024 07:00
@wtaferner
Copy link
Contributor Author

@xmo-odoo
Any chance to get this merged? Who do I need to ping to discuss this essential parameter for better CSS interpretation of PDF/print?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ORM ORM, python Framework related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants