Thursday, September 4, 2025
1 change · saas-18.4
Enhancements to existing features
Payroll contract templates now carry over country-specific payroll fields more reliably when new employee contracts are created. This helps HR teams avoid missing local compliance or payroll details and adds validation to reduce future regressions.
Original PR description
This commit implements _get_whitelist_fields_from_template() method across all HR payroll localizations to ensure that localization-specific fields are properly copied when creating contracts from templates. Additionally, tests has been added for all localizations to validate the whitelist functionality and ensure proper template loading behavior. task-4954283