OdooWiki OCA HUB

Hr Contract Renew

hr_contract_renew folder_open OCA/hr open_in_new
Uncategorised License: AGPL-3

This module allows extend a contract creating a new one as copy of the original contract.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a 'Renew Contract' button on employee contracts that opens a small wizard to create a new contract copied from the current one, starting the day after the old contract ends.

This module makes it easy to extend an employee's contract without retyping all the information.

On the contract form (the hr.contract screen), a highlighted "Renew Contract" button appears in the header, but only when the contract has no end date set. Clicking it opens a small pop-up window where the user only has to enter the new End Date (it defaults to today).

Pressing "Renew" in the pop-up automatically: - Creates a new contract as a copy of the original one, in Draft state, keeping the same working schedule. - Sets the new contract's start date to the date entered in the wizard. - Names the new contract "Extend Contract for [employee name]". - Updates the original contract's end date to the day before the new start date, so the two contracts follow each other without overlapping. - Opens the newly created contract so the user can review or adjust it.

The module adds one new screen (the renewal wizard) and one button on the existing contract form. It works together with the standard Contracts app (hr.contract) and does not change payroll, attendance or any other area.

Depends on

hr_contract
Models and fields (1)
  • hr.contract.renew.wizard · new modeldate_end (End Date), contract_id (Contract)

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 18.0

To use this module, you need to:

Go to Employees and select an employee with a contract.

Go to Employee Contracts and select one.

In the form view header, there is a button named Renew Contract. Click it.

In the wizard that opens, set the start date of the new contract and click Renew.

The new contract will be created with the same data as the original contract, but with the new start date and in Draft status. The original contract will be marked as Expired with the end date you set in the wizard, as the date preceding the start of the new contract.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.