Skip to content

Conversation

@arpi-odoo
Copy link

No description provided.

@robodoo
Copy link

robodoo commented Dec 24, 2025

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

SurryaT10 added 2 commits December 30, 2025 11:02
Steps to reproduce:
1. Open "Employees" App
2. Click on any employee
3. Click on the "Payroll" Tab
4. Make sure "contract" date is empty

Bug cause:
The "button_new_contract" widget in the employee_form view is always displayed because it does not define an invisible condition.

Solution:
Added an invisible condition to the button_new_contract widget so it is shown only when the contract start date is set.

Task: #5447352
Steps to reproduce:
1. Time Off >> Configuration >> Time Off Types >> Open any type, navigate to the Smart button Time Off >> Click on New >> Time Off Type

Leads to a traceback error.

Bug cause:
The op function called in _search_virtual_remaining_leaves method expects two values [ie. op(value1, value2)], but only one was passed.
This led to the traceback error.

Solution:
Passed a second parameter "value" in the op function call.
Also added unit test for search_virtual_remaining_leaves function

task-5449083
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