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

[16.0][MIG] report_qweb_signer #836

Merged
merged 50 commits into from
Apr 22, 2024

Conversation

benwillig
Copy link
Contributor

No description provided.

@benwillig benwillig force-pushed the 16.0-mig-report_qweb_signer-bwi branch from 571be0c to 3e0d0d6 Compare January 10, 2024 08:42
@benwillig benwillig changed the title [MIG][16.0] report_qweb_signer [16.0][MIG] report_qweb_signer Jan 10, 2024
Copy link

@len-foss len-foss left a comment

Choose a reason for hiding this comment

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

LGTM with a minor change :-)

).format(
error_code=process.returncode,

Choose a reason for hiding this comment

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

I think OCA guidelines are to avoid string formatting with format as it has more security risks. Note that you can keep your change by simply replacing the changes by %(message)s, see odoo/odoo@3c3b88f.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, this is required, good spot! Newer guidelines also require to use named placeholders when multiple placeholders appear in the same translated string, so just follow @len-foss' suggestion and you'll be good to go.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sorry for the delay, it should be fixed now

@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). 🤖

@ThomasBinsfeld ThomasBinsfeld force-pushed the 16.0-mig-report_qweb_signer-bwi branch from 3e0d0d6 to b7ea37b Compare February 12, 2024 09:47
@edlopen
Copy link
Member

edlopen commented Feb 26, 2024

LGTM, thank you @benwillig.

@edlopen
Copy link
Member

edlopen commented Feb 26, 2024

Hello @OCA/reporting-engine-maintainers ,

I have tested the module and I think it is ready to be merged. Can you take a look please?

Thank you!!

).format(
error_code=process.returncode,
Copy link
Member

Choose a reason for hiding this comment

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

Yes, this is required, good spot! Newer guidelines also require to use named placeholders when multiple placeholders appear in the same translated string, so just follow @len-foss' suggestion and you'll be good to go.

@EmilioPascual
Copy link
Contributor

@yajo can you review again please, plz? @benwillig updated pr

@yajo
Copy link
Member

yajo commented Apr 17, 2024

It seems the branch has conflicts. Can you please rebase and fix them, so we can merge?

antespi and others added 12 commits April 17, 2024 15:14
OCA Transbot updated translations from Transifex
OCA Transbot updated translations from Transifex
These limits were being hit when printing PDF reports with just 80 pages.

OCA Transbot updated translations from Transifex

[UPD] Update report_qweb_signer.pot
- Good dependency chain
- Context for forcing rendering PDF
- Extra test

[UPD] README.rst

[UPD] Update report_qweb_signer.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-12.0/reporting-engine-12.0-report_qweb_signer
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_qweb_signer/

[UPD] README.rst
`render_qweb_pdf` must return a tuple of `(content, 'pdf')`
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-12.0/reporting-engine-12.0-report_qweb_signer
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_qweb_signer/
Fix website on manifest
OCA-git-bot and others added 13 commits April 17, 2024 15:14
Currently translated at 26.0% (12 of 46 strings)

Translation: reporting-engine-14.0/reporting-engine-14.0-report_qweb_signer
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-14-0/reporting-engine-14-0-report_qweb_signer/it/
Currently translated at 63.0% (29 of 46 strings)

Translation: reporting-engine-14.0/reporting-engine-14.0-report_qweb_signer
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-14-0/reporting-engine-14-0-report_qweb_signer/sl/
Currently translated at 100.0% (46 of 46 strings)

Translation: reporting-engine-14.0/reporting-engine-14.0-report_qweb_signer
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-14-0/reporting-engine-14-0-report_qweb_signer/ca/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-14.0/reporting-engine-14.0-report_qweb_signer
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-14-0/reporting-engine-14-0-report_qweb_signer/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-14.0/reporting-engine-14.0-report_qweb_signer
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-14-0/reporting-engine-14-0-report_qweb_signer/
@benwillig benwillig force-pushed the 16.0-mig-report_qweb_signer-bwi branch from 0041e0c to b12eec8 Compare April 17, 2024 13:15
@benwillig
Copy link
Contributor Author

It seems the branch has conflicts. Can you please rebase and fix them, so we can merge?

@yajo Rebased

@EmilioPascual
Copy link
Contributor

@benwillig error with pre-commit. Please, fix. Thank you

@benwillig benwillig force-pushed the 16.0-mig-report_qweb_signer-bwi branch from b12eec8 to 30257d2 Compare April 22, 2024 08:41
@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). 🤖

@yajo
Copy link
Member

yajo commented Apr 22, 2024

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 16.0-ocabot-merge-pr-836-by-yajo-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit dbe3401 into OCA:16.0 Apr 22, 2024
5 checks passed
@OCA-git-bot
Copy link
Contributor

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

@ThomasBinsfeld ThomasBinsfeld deleted the 16.0-mig-report_qweb_signer-bwi branch June 10, 2024 12:48
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.