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

[FIX] logged_query: deprecation warning for tools.ustr for version >= 18 #386

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

marielejeune
Copy link
Contributor

odoo.tools.ustr is deprecated since Odoo 18. See full comment here: https://github.com/odoo/odoo/blob/e65d31339d383169bfebab7619073d7117198cfa/odoo/loglevels.py#L65

This improvement avoids raising the warning in the logs.

@marielejeune marielejeune force-pushed the 18.0-fix-deprecated_ustr-mle branch from 1480365 to acfb85d Compare October 10, 2024 15:15
@pedrobaeza pedrobaeza merged commit 23da9c3 into OCA:master Oct 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants