-
-
Notifications
You must be signed in to change notification settings - Fork 112
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][FIX] hr_holidays_public: keep 'employee_id' field amongst method calls #164
[16.0][FIX] hr_holidays_public: keep 'employee_id' field amongst method calls #164
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.
code LGTM
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.
makes sense 👍
This PR has the |
ping @OCA/human-resources-maintainers |
/ocabot merge patch |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at bf3846d. Thanks a lot for contributing to OCA. ❤️ |
Please, forward port. |
Before this commit, the
employee_id
's parameter value was lost when calling some functions from other ones in this module (for example, when calling_get_domain_states_filter
fromget_holidays_list
.However, this parameter might be necessary in the computation of some holidays, when having restrictions related to the employee, instead of the partner (accessed through
employee.address_id
). You can see an example of that in the module added in #161.