Skip to content

[16.0][IMP] hr_holidays_public: remove redundant partner resolution in is_public_holiday#259

Open
RicardCForgeFlow wants to merge 1 commit into
OCA:16.0from
ForgeFlow:16.0-imp-hr_holidays_public
Open

[16.0][IMP] hr_holidays_public: remove redundant partner resolution in is_public_holiday#259
RicardCForgeFlow wants to merge 1 commit into
OCA:16.0from
ForgeFlow:16.0-imp-hr_holidays_public

Conversation

@RicardCForgeFlow

@RicardCForgeFlow RicardCForgeFlow commented Jun 22, 2026

Copy link
Copy Markdown

Simplify is_public_holiday by removing the redundant call to _get_partner_deprecated_employee, as it is already invoked immediately after inside get_holidays_list:

So we correct the Warning:
image

@OCA-git-bot OCA-git-bot added series:16.0 mod:hr_holidays_public Module hr_holidays_public labels Jun 22, 2026
@RicardCForgeFlow RicardCForgeFlow changed the title [IMP] hr_holidays_public: remove redundant partner resolution in is_public_holiday [16.0][IMP] hr_holidays_public: remove redundant partner resolution in is_public_holiday Jun 22, 2026
@RicardCForgeFlow RicardCForgeFlow force-pushed the 16.0-imp-hr_holidays_public branch from 1af2d38 to 1fceaaa Compare June 22, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:hr_holidays_public Module hr_holidays_public series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants