-
-
Notifications
You must be signed in to change notification settings - Fork 667
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
[15.0][ADD] hr_announcement: New module #1262
Conversation
c479187
to
c288114
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.
Code review
c288114
to
a0b9947
Compare
Thank you for your review above, I have already made the relevant changes. Can you check again if everything is correct? |
0e713a5
to
79e1f2c
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.
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.
Functionally it seems to work well. Only a few details
79e1f2c
to
92ccbc6
Compare
92ccbc6
to
b00d5f8
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.
The super
that @chienandalu points out is missing, otherwise it looks good.
b00d5f8
to
d9f0a98
Compare
thanks!!! |
Hello, yesterday I tried the announcement module on the v15 Runboat and got some issues: basically as the admin I sent an announcement for the demo user and the I had a demo user session in an anonymous browser window. Problem: the demo user didn't get the notification in the tray unless he reloaded the page. Also I got polling XHR timeouts. Also for the admin user he got the notification in the tray when the announcement was for him, but he had to refresh the page to get the popup. I don't know if this is may be related to the Runboat environment (possibly creating the XHR polling timeouts) or if I did something wrong, but I think this is worth a check on your side. |
@rvalyi bus is not working in runboats unless you put https on your URLs. |
ah ok thank you for clarifying. |
AFAIK, you can type |
d9f0a98
to
28a3e3a
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.
Looks good. An automated test would make it great.
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.
Working in prod for months. You can mention the lack of tests in the roadmap though
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 91dcee6. Thanks a lot for contributing to OCA. ❤️ |
The hr_announcement module extends the announcement module by adding 3 new options to the announcement type. This module allows the creation and management of announcements, which can be sent to specific employees, departments, or job positions.
cc @Tecnativa TT42581
@victoralmau @chienandalu please review :)
ping @CarlosRoca13