Skip to content
Snippets Groups Projects
Commit e84106cd authored by kusi-odoo's avatar kusi-odoo Committed by Prakash Prajapati
Browse files

[FIX] hr, hr_contract: set contract end date when we archive the employee


1) If the contract is running when the employee is archived, we move the contract in the
   expired stage and we set the date of the archive wizard to the
   contract's end date.

2) If the contract has expired when the employee is archived, do not change the date.

task-3373275

closes odoo/odoo#126627

Signed-off-by: default avatarSofie Gvaladze (sgv) <sgv@odoo.com>
parent 93b6d3f0
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment