Skip to content

[IMP] empty#5185

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

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

Conversation

@arpi-odoo

Copy link
Copy Markdown

No description provided.

@robodoo

robodoo commented Jun 23, 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.

Steps to reproduce:
Time Off >> Configuration >> Time Off Types >> Open any type, navigate to the Smart button Time Off >> Click on New >> Time Off Type >> Error

The cause is in addons/hr_holidays/models/hr_work_entry_type.py
Specifically, the function _search_virtual_remaining_leaves()

The problem is that in this function an operator is being used, this operator expects two values to compare against each other and the current code is only passing one.
The solution is to pass the value that is given as a function argument to the operator function.

Task: 6326629
This makes the property permit_no versioned
Task: 6326875
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.

3 participants