hr-holidays
hr-holidays copied to clipboard
[17.0][FW] hr_holidays_public: Deprecate use of employee_id in favour of partner_id
Helper functions to find public holidays did allow to use an hr.employee to filter country and states based on the employee address.
Since only the address of the employee was used, modifying the functions to use a res.partner instead of an hr.employee allows more possibilities such as checking public holidays for customers and suppliers.
Forward port of:
- [x] #110
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.