-
-
Notifications
You must be signed in to change notification settings - Fork 808
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
[18.0][MIG] report_qweb_pdf_cover #985
base: 18.0
Are you sure you want to change the base?
[18.0][MIG] report_qweb_pdf_cover #985
Conversation
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: reporting-engine-16.0/reporting-engine-16.0-report_qweb_pdf_cover Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_qweb_pdf_cover/
Currently translated at 100.0% (21 of 21 strings) Translation: reporting-engine-16.0/reporting-engine-16.0-report_qweb_pdf_cover Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-16-0/reporting-engine-16-0-report_qweb_pdf_cover/it/
5840d84
to
6bad2c0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functional + code 👍
def pdf_check_pages(self, num_pages, front=True): | ||
if num_pages < 1: | ||
if front: | ||
logger.error(_("Your front cover PDF does not contain any pages.")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logger.error(_("Your front cover PDF does not contain any pages.")) | |
logger.error(self.env._("Your front cover PDF does not contain any pages.")) |
This is better performance. Can you please replace it in all '_' occurrences?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated, Thanks
6bad2c0
to
4175e8b
Compare
Standard Migration
@ForgeFlow