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.

Steps to reproduce: Open an Employee form (via Payroll or Employees module). Navigate to the "Payroll" tab and locate the "Contract Overview" section. Observe that the "New Contract" button is visible even when no contract start date is present.

Bug Cause: The button lacked a visibility attribute, causing it to render by default regardless of the state of the contract date fields.

Solution: Added a conditional visibility attribute to the button so it remains hidden until a contract start date is defined.

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