-
-
Notifications
You must be signed in to change notification settings - Fork 127
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] hr_attendance_reason: remove 'manual_selection' route #214
[17.0][FIX] hr_attendance_reason: remove 'manual_selection' route #214
Conversation
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.
You have to explain the why, and if it should go out, remove the line, not comment it.
Sorry, first time I make this kind of contribution. Removed the route, the explanation is exactly the same that we can find in the following link https://github.com/OCA/hr-attendance/issues/210 |
OK, put the whole issue description on the commit message and PR main comment for reference. Please also don't add several commits, but one. The first commit message (without including the version) was OK. The PR title is OK. |
4244bd9
to
3b68137
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
@Arubaru86 I'm afraid the commit message is not correct. It can be:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
No, you haven't changed the commit message, only the PR initial comment. |
3b68137
to
aed551d
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
aed551d
to
9b9c4ad
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
Now the commit is from the bot, so it's still incorrect. |
9b9c4ad
to
a5accf4
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
Not really. We have come back to #214 (comment) referring the commit message, and the modified files are not correct. Do a rebase. |
a5accf4
to
3f2912d
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
OK, let's move, although the commit message is not exactly the looked one. /ocabot merge patch |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at fec5cef. Thanks a lot for contributing to OCA. ❤️ |
[FIX] hr_attendance_reason: remove 'manual_selection' route
Steps to reproduce
In kiosk mode, after installing hr_attendance_reason, restart Odoo without configuring any Reason or enabling "Show reasons on attendance screen?"
Current behavior
When opening the public kiosk URL, I select an Employee, then enter the PIN. Upon clicking OK, it shows a notification "Connection lost", followed shortly by "Connection restored", but nothing happens. It remains on the numeric keypad screen to enter the PIN.
This is the log after installing the module:
2025-02-19 16:44:07,162 2700 INFO ? odoo.modules.loading: 1 modules loaded in 0.01s, 0 queries (+0 extra)
2025-02-19 16:44:07,193 2700 INFO ? odoo.modules.loading: loading 55 modules...
2025-02-19 16:44:07,539 2700 INFO ? odoo.modules.loading: 55 modules loaded in 0.35s, 0 queries (+0 extra)
2025-02-19 16:44:07,646 2700 INFO ? odoo.modules.loading: Modules loaded.
2025-02-19 16:44:07,650 2700 INFO ? odoo.modules.registry: Registry loaded in 0.509s
2025-02-19 16:44:07,651 2700 INFO rjl odoo.addons.base.models.ir_http: Generating routing map for key None
2025-02-19 16:44:07,658 2700 WARNING rjl odoo.http: The endpoint odoo.addons.hr_attendance.controllers.main.HrAttendance.manual_selection is not decorated by @route(), decorating it myself.
2025-02-19 16:44:07,658 2700 WARNING rjl odoo.http: The endpoint odoo.addons.hr_attendance_reason.controllers.main.HrAttendance.manual_selection changes the route type, using the original type: 'http'.
2025-02-19 16:44:08,067 2700 INFO ? odoo.addons.bus.models.bus: Bus.loop listen imbus on db postgres
This is the log at the time of the error:
2025-02-19 16:46:08,469 2698 WARNING rjl odoo.http: No CSRF validation token provided for path '/hr_attendance/manual_selection'