Skip to content

[IMP] empty - #5202

Open
arpi-odoo wants to merge 3 commits into
master-hr-onboardingfrom
master-hr-onboarding-fishi
Open

[IMP] empty#5202
arpi-odoo wants to merge 3 commits into
master-hr-onboardingfrom
master-hr-onboarding-fishi

Conversation

@arpi-odoo

Copy link
Copy Markdown

No description provided.

@robodoo

robodoo commented Aug 3, 2026

Copy link
Copy Markdown

This PR targets the un-managed branch odoo-dev/odoo:master-hr-onboarding, it needs to be retargeted before it can be merged.

Filip (fishi) added 2 commits August 5, 2026 17:33
…contract start date is not set

Hides the 'New Contract' button in the Payroll notebook in the employee view. This is because
a new contract cannot be created if there is no existing one (no contract_date_start).

Task: 6445358
Before this fix, going to a Create New Time Off form
and trying to select a time off type would result
in a server error.

This happens because when the select field is clicked,
in the background time off types with virtual_remaining_leaves
greater than 0 are searched, and in the search function,
a second parameter to the 'gt' function was forgotten.

I added the second parameter in the search function and
created a unit test to insure this function will hr_work_entry_type
properly in the future.

Task: 6446103
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants