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

[17.0][IMP] report_qweb_parameter: Remove warnings #935

Merged

Conversation

victoralmau
Copy link
Member

Remove warning Found deprecated directive @t-raw

WARNING devel odoo.addons.base.models.ir_qweb: Found deprecated directive @t-raw='docs.env["ir.qweb"].check_length(docs[0].vat, 10, False)[:10]' in template 237. Replace by @t-out, and explicitely wrap content in Markup if necessary (which likely is not the case)

WARNING devel odoo.addons.base.models.ir_qweb: Found deprecated directive @t-raw='docs.env["ir.qweb"].check_length(docs[0].company_registry, False, 10)' in template 237. Replace by @t-out, and explicitely wrap content in Markup if necessary (which likely is not the case)

Execute pre-commit to remove the existing warning.

WARNING prod py.warnings: /opt/odoo/custom/src/odoo/odoo/addons/base/models/ir_module.py:178: DeprecationWarning: XML declarations in HTML module descriptions are deprecated since Odoo 17, report_qweb_parameter can just have a UTF8 description with not need for a declaration.

@Tecnativa

…@T-raw

WARNING devel odoo.addons.base.models.ir_qweb: Found deprecated directive
@T-raw='docs.env["ir.qweb"].check_length(docs[0].vat, 10, False)[:10]' in template 237.
Replace by @t-out, and explicitely wrap content in `Markup` if necessary
(which likely is not the case)

WARNING devel odoo.addons.base.models.ir_qweb: Found deprecated directive
@T-raw='docs.env["ir.qweb"].check_length(docs[0].company_registry, False, 10)'
in template 237. Replace by @t-out, and explicitely wrap content in `Markup`
if necessary (which likely is not the case)
Execute pre-commit to remove the existing warning.

WARNING prod py.warnings: /opt/odoo/custom/src/odoo/odoo/addons/base/models/ir_module.py:178:
DeprecationWarning: XML declarations in HTML module descriptions are deprecated since Odoo 17,
report_qweb_parameter can just have a UTF8 description with not need for a declaration.
@pedrobaeza pedrobaeza added this to the 17.0 milestone Oct 9, 2024
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 17.0-ocabot-merge-pr-935-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit ff461e7 into OCA:17.0 Oct 9, 2024
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@pedrobaeza pedrobaeza deleted the 17.0-fix-report_qweb_parameter-warning branch October 9, 2024 15:43
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.

3 participants