Skip to content

[IMP] empty#5131

Draft
lebm-odoo wants to merge 4 commits into
master-hr-onboardingfrom
master-hr-onboarding-ahnae
Draft

[IMP] empty#5131
lebm-odoo wants to merge 4 commits into
master-hr-onboardingfrom
master-hr-onboarding-ahnae

Conversation

@lebm-odoo
Copy link
Copy Markdown

No description provided.

@robodoo
Copy link
Copy Markdown

robodoo commented May 4, 2026

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

lebm-odoo and others added 3 commits May 8, 2026 08:50
Previously, the 'New Contract' widget was visible even if the employee
had no contract dates. This was caused by a missing visibility condition.

This commit adds the 'invisible' attribute to the widget to ensure it
only appears when 'contract_date_start' is set.

Task: 6186258
Prevent selection of invalid dates (e.g., Feb 31st) by introducing
the 'accrual_selection_day' widget. The widget uses 'extractProps'
to read a 'month_field' from XML options and dynamically filters
the day selection list based on the chosen month's length.

Task: 6197119
Steps to reproduce:

1. Go to Time Off > Configuration > Time Off Types.

2. Open any type and click the 'Time Off' smart button.

3. Click 'New' or attempt to filter/search on the resulting view.

4. A TypeError occurs during the evaluation of the remaining leaves.

Bug:

In `_search_virtual_remaining_leaves`, the operator `op` was being called without its second argument (the comparison value).

Solution:

Pass the comparison value to the operator in `_search_virtual_remaining_leaves` to ensure the comparison is evaluated correctly and prevent the TypeError.

task: 6194971
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