-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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][MIG] web_notify: Migration to 16.0 #2412
Conversation
4a702c5
to
d0dd193
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.
LGTM
7519689
to
d81d637
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.
Functional test.
/ocabot migration 16.0 |
Done |
Concerning this, I believe it is due to the t-out attribute here https://github.com/odoo/odoo/blob/d594069767cb0f48c829a25f33abc6da620e7235/addons/web/static/src/core/notifications/notification.xml#L12 But as I am not familiar with owl I'm not sure what's a good way to fix this. If anyone has an idea, you're welcome fixing it with a new commit. |
/ocabot migration web_notify |
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.
lgtm
Hello @baimont i just created this PR to help you show a html formatted message. |
Thanks very much @nguyenminhchien ! Tested and approved |
This technical module allows you to send instant notification messages from the server to the user in live.
Fix a check when comparing a user count with items within a mock call. The previous method was succeeding by pure luck because OCA test databases contain 2 users, which happens to be the amount of items within a mock "call_args" (it contains args + kwargs).
- Use the 'session' class of the JS Framework (session no lounger bound to web client) - Test change: compare emitted & received messages based on content, not order. Using string comparison raises false positives.
Currently translated at 100,0% (5 of 5 strings) Translation: web-11.0/web-11.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_notify/pt_BR/
Currently translated at 40.0% (2 of 5 strings) Translation: web-11.0/web-11.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_notify/da/
Currently translated at 42.8% (9 of 21 strings) Translation: web-14.0/web-14.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_notify/nl/
It exists since many version and is actively maintained.
- Use ES6 in js files - Update screenshots - Clean old lint exceptions - New icon TT38350
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: web-15.0/web-15.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_notify/
Currently translated at 100.0% (18 of 18 strings) Translation: web-15.0/web-15.0-web_notify Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_notify/it/
785a4fc
to
4723fa3
Compare
4723fa3
to
f099779
Compare
Hi, |
After further investigation with @marielejeune we found the issue was not related to workers but to Chrome blocking web socket due to an invalid certificate. So this should be good to go. /ocabot merge nobump |
On my way to merge this fine PR! |
Congratulations, your PR was merged at a80e52b. Thanks a lot for contributing to OCA. ❤️ |
@sbidoul remember that you enabled a runboat certificate (changing http to https) for these cases 😄 |
#2309
Tested locally using the Test web notify tab on users