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] "Found deprecated directive..." spam after OpenUpgrade #4724

Open
yibudak opened this issue Jan 28, 2025 · 0 comments
Open

[16.0] "Found deprecated directive..." spam after OpenUpgrade #4724

yibudak opened this issue Jan 28, 2025 · 0 comments

Comments

@yibudak
Copy link

yibudak commented Jan 28, 2025

Hello everyone,

I'm currently working on an Odoo migration project, upgrading the system from version 12.0 to 16.0 using OpenUpgrade (and odoo-openupgrade-wizard as well). Most of the migration is done, but I have a problem with deprecation warnings.

2025-01-28 05:44:03,854 3100050 WARNING 16test2 odoo.addons.base.models.ir_qweb: Found deprecated directive @t-esc="title or 'Odoo'" in template 3426. Replace by @t-out

2025-01-28 05:44:03,855 3100050 WARNING 16test2 odoo.addons.base.models.ir_qweb: Found deprecated directive @t-esc='request.csrf_token(None)' in template 3426. Replace by @t-out

2025-01-28 05:44:03,855 3100050 WARNING 16test2 odoo.addons.base.models.ir_qweb: Found deprecated directive @t-esc='debug' in template 3426. Replace by @t-out

I've checked both OCA/OCB and odoo/odoo code, and yes, there are lots of deprecated uses of t-esc, but they don't throw any warning on the clean setup.

The questions are:

  1. Should I replace all t-esc directives with t-out in my fork?
  2. Could this problem be related to the OpenUpgrade process?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant