-
-
Notifications
You must be signed in to change notification settings - Fork 681
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
[14.0][MIG] resource_hook: Migration to 14.0 #1197
Conversation
- hr_calendar_rest_time: Adds rest time to the calendar attendance records - resource_hook: Extends the resource with hooks to standard methods
Currently translated at 50.0% (1 of 2 strings) Translation: hr-13.0/hr-13.0-resource_hook Translate-URL: https://translation.odoo-community.org/projects/hr-13-0/hr-13-0-resource_hook/es/
Currently translated at 100.0% (2 of 2 strings) Translation: hr-13.0/hr-13.0-resource_hook Translate-URL: https://translation.odoo-community.org/projects/hr-13-0/hr-13-0-resource_hook/es/
Fix the validation of leaves With module resource_hook installed the method _get_work_hours_interval(start, stop, meta) is called from a hr.employee (self) Object. This is not implemented for hr.employee unless you do it by yourself and Odoo crashes on second Approve. Since a calendar object exists you can use calendar instead of self.
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.
No change code 👍
/ocabot merge nobump Merging 👍 thanks for the migration, I wanted to do it but never find the time. |
On my way to merge this fine PR! |
Congratulations, your PR was merged at add360d. Thanks a lot for contributing to OCA. ❤️ |
No description provided.