OdooWiki OCA HUB

Employee external Partner

hr_employee_partner_external folder_open OCA/hr open_in_new
Human Resources License: AGPL-3

Add the following fields to employee

  • is_external
  • hr_external_partner_id

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds two fields to the employee form: a checkbox marking an employee as external and a link to the partner company that manages them. The partner field only appears and is required when the employee is marked external.

This module extends the standard employee record in Odoo's Human Resources app with information about employees who are not directly managed by the company.

On the employee form, right after the Department field, users with HR rights see: - A checkbox "Is an external Employee" (off by default). - An "External Partner" field that links the employee to a contact/company record (res.partner).

The External Partner field stays hidden until the external checkbox is ticked, and once it is ticked the partner becomes mandatory, so an external employee cannot be saved without naming the partner that administers them. The help text explains the partner is the one that administrates the employee working in the company.

Both fields are restricted to users in the HR officer group, so regular employees do not see or edit them. No menus, reports, emails, scheduled actions or automatic computations are added; the change is limited to the employee form and the hr.employee model.

Depends on

hr
Models and fields (1)
  • hr.employee · extends an existing modelis_external (Is an external Employee), hr_external_partner_id

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 8 confirmed, 1 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 19.0

Associates a Partner to an Employee to indicate that this Employee is administrated by the Partner but works in the Company.

This Employee can be a real person or a "virtual" one: on second case is the Partner that defines the "real" person who works when requested.

On Employees select an Employee and check option that he is an external, then associate the Partner.

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.