OdooWiki OCA HUB

Partner Contact Department

partner_contact_department folder_open OCA/partner-contact open_in_new
Customer Relationship Management License: AGPL-3

This module extends the functionality of the address book to support departments.

Department is a drop-down field in partner forms, and it refers to contact department in its own company.

auto_awesome What this module does

AI-generated from the code · Odoo 20.0

Lets you create a list of departments and assign each contact to one, so you can organise people in your address book by department and group or filter contacts by it.

This module adds a simple department directory to the Contacts app and a Department field on contact records.

What users can do: - Create departments, with an optional parent department, so departments can be organised in a hierarchy (child departments are shown on the department form). - Pick a department on a contact form; the field appears next to the job position and is hidden for companies, so it is meant for individual people. - The same Department field is also available when adding or editing a contact directly from a company's list of contacts. - In the Contacts search view, filter or group contacts by department.

Where it appears in Odoo: - A Departments menu under the Contacts configuration menu, opening an editable list of departments. - A department form showing name, parent department and child departments. - The contact form and the contact search filters.

Business rules and behaviours: - A department name is mandatory. - A department that has child departments cannot be deleted while those children still point to it. - Departments are sorted by their position in the hierarchy, then by name.

Access: internal users and portal/public users can read departments; partner managers can create, edit and delete them.

The module touches the contact model res.partner and introduces the new department model res.partner.department.

Depends on

contacts

Menus it adds

menu_res_partner_department
Models and fields (2)
  • res.partner · extends an existing modeldepartment_id
  • res.partner.department · new modelname, child_ids, parent_id, parent_path

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

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/partner-contact.

terminal Installation and usage

OCA documentation · Odoo 20.0

To configure departments, you need to:

  • Go to Contacts \> Configuration \> Departments.

To use this module, you need to:

  • Go to any partner's form.
  • You will find the new Department field below Job Position.

No verified information in OCA: Installation.

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.