OCA / reporting-engine

Odoo Alternative Reporting Engine
https://odoo-community.org/project/tools-maintainers-30
GNU Affero General Public License v3.0
335 stars 795 forks source link

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

Closed victoralmau closed 1 month ago

victoralmau commented 1 month ago

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 inMarkupif 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 inMarkupif 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

OCA-git-bot commented 1 month ago

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 commented 1 month ago

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