Skip to content
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

Merged
merged 20 commits into from
Feb 23, 2023

Conversation

chandni299
Copy link

No description provided.

JordiBForgeFlow and others added 20 commits February 21, 2023 14:36
- 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.
Copy link
Member

@Saran440 Saran440 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No change code 👍

@nimarosa
Copy link
Contributor

/ocabot merge nobump

Merging 👍 thanks for the migration, I wanted to do it but never find the time.

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 14.0-ocabot-merge-pr-1197-by-nimarosa-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 6abd992 into OCA:14.0 Feb 23, 2023
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at add360d. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants