-
-
Notifications
You must be signed in to change notification settings - Fork 812
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][FIX] purchase_request: Add Markup to messages #2569
[17.0][FIX] purchase_request: Add Markup to messages #2569
Conversation
It seems this is not adding value as the parameter is_html_body=True is doing the same. Am I wrong? |
71124cc
to
4604707
Compare
I have updated the commit message and the description to indicate that it is to avoid the warning log. |
In general about the PR, isn't the parameter |
I think it is important to remember the reason for this PR, to remove the warning log for using |
OK, didn't know, but you can now assure no injection through data fields with the advices given here. |
Thanks for the update. You can squash commits because they are closely related. |
Remove warning log WARNING odoo odoo.addons.mail.models.mail_thread: Posting HTML message using body_is_html=True, use a Markup object instead (user: 1) [IMP] purchase_request: Add html_escape to some message data
5594146
to
f7aaf7d
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.
/ocabot merge patch
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 23656b4. Thanks a lot for contributing to OCA. ❤️ |
Add Markup to messages
Remove warning log
WARNING odoo odoo.addons.mail.models.mail_thread: Posting HTML message using body_is_html=True, use a Markup object instead (user: 1)
@Tecnativa