Skip to content

[FIX] hr: hide "New Contract" button when employee contract date is missing - #5251

Open
aski97 wants to merge 1 commit into
master-hr-onboarding-vibelfrom
master-hr-contract_button_invisible-vibel
Open

[FIX] hr: hide "New Contract" button when employee contract date is missing#5251
aski97 wants to merge 1 commit into
master-hr-onboarding-vibelfrom
master-hr-contract_button_invisible-vibel

Conversation

@aski97

@aski97 aski97 commented Aug 28, 2026

Copy link
Copy Markdown

Before this change, the "New Contract" button was always visible on the employee form (in payroll section), even when no contract date was present.

This fix adds a t-if condition in the button template to ensure the button is only displayed when the contract date is fulfilled.

Task: 6518971

…issing

Before this change, the "New Contract" button was always visible on the employee form (in payroll section), even when no contract date was present.

This fix adds a `t-if` condition in the button template to ensure the button is only displayed when the contract date is fulfilled.

Task: 6518971
@robodoo

robodoo commented Aug 28, 2026

Copy link
Copy Markdown

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

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