Partner Org Chart
An Org Chart tab on every company and contact form that draws the contacts under a company as a tree
Request a live demo · Odoo.sh or On-Premise only, not Odoo Online (SaaS).
200
contacts are drawn below the top company (a company with exactly 200 now shows all of them; version 1.0.2 drew 199 and said 200)
0 of 1
contact of another company was drawn for a user of company A only: the chart is built with the logged-in user's own record rules
23
automated tests counted on this version, none failing; 13 were added for what this page states (10 counted before)
6-11
database queries to draw the chart of a contact or of a company with 232 contacts, read whenever the partner form is read; 93 for a 30-level chain, about 3 per level in a deep chain
Fixed
in this version: the limit counted the company itself, so one contact too few was drawn
Not
a reporting-line chart: Odoo has no boss field between contacts, so the tree shows the company and its contacts, A to Z
A company in Odoo can have dozens of contacts, invoice addresses and delivery addresses, and the partner form shows them as a flat list of cards. Partner Org Chart adds a tab that draws the top company and everything under it as an indented tree, with the job title, the email and the address type on each line. Click a name to open that contact. This page walks through it with screenshots of an Odoo 19 database holding made-up accounts, and with tables rendered from real readings of the same run; each picture says which it is.
It draws the structure Odoo already stores. It is not a reporting-line chart and not the HR employee chart. This page also says where that bites: archived contacts, the 200 contact limit, what a restricted user sees, and what the tab costs every time a form is read.
Install it and the Org Chart tab appears on the partner form, after Internal Notes. It needs only Odoo's base module.
How it works
What it keeps, what it changes, what it does not
Each line was tested or read in the code.
1 The whole account as a tree
Use it when you want to see who sits under whom before you pick up the phone.Read-only
Odoo shows the contacts of a company as a flat list of cards. Nobody can see at a glance which contacts belong to a sub-company, which are invoice or delivery addresses, or who the right person is.
Open any company and choose the Org Chart tab. The first picture is a made-up logistics account: the company at the top, a sub-company with two contacts, an invoice address, three contacts with the people under them, and a delivery address. Each line has the name, a grey badge with the job title, an orange badge with the address type (Invoice, Delivery or Other) and an outlined badge with the email. Contacts are in Odoo's own name order, not by job title (a sub-company is listed first on Odoo 19 and among the others on Odoo 20). The second picture is Odoo's own Contacts & Addresses tab of the same company for comparison: direct contacts only, as flat cards.
The tree shows the structure Odoo stores. It does not show who reports to whom.
The Org Chart tab of a company. Real Odoo screen.
Odoo's own Contacts & Addresses tab of the same company. Real Odoo screen.


2 From any contact
Use it when you are on a contact's form and want to see where this person sits.Read-only
A contact form on its own says little about the account around it.
Open the tab on any contact: the chart still starts at the top company you may read, so every contact of a company shows the same tree, and the contact you are on is underlined. In this picture the user clicked Daniel Osei's name in the company's chart (a real click in the browser) and opened the tab there. A click on a name opens that contact in the same tab without reloading the page; the breadcrumb then restarts at that contact.
Contacts under a contact and companies under a company come from imports, the API or code: Odoo 19's standard form lets a contact's Company field take companies only.
The tab on a contact, reached by clicking his name. Real Odoo screen.

3 Who sees which contacts
Use it when several companies share a database and a user must not see the others' contacts.Read-only
A chart that ignored access rights would leak the contacts of another company.
The chart is built with the logged-in user's own record rules. In a made-up two-company group, the administrator (allowed in both companies) sees the group parent, the sub-company, two contacts of company A and one contact of company B only. Ellen, a user of company A only, sees the same account starting at the highest company she may read, with no group parent and no company-B contact; opening the group parent is refused by Odoo itself. The first picture is the administrator's, the second Ellen's, then the readings.
Several companies in real use were not verified; one two-company case was tested.
The administrator's chart. Real Odoo screen.
Ellen's chart for the same contact. Real Odoo screen, Ellen logged in separately.
Who sees which contacts. Evidence table.



4 The limit of 200
Use it when your account has hundreds of contacts and the form must stay fast.Changed in 1.0.3
A chart with thousands of lines would slow the form and nobody could read it.
At most 200 contacts are drawn below the top company, one level after the other, in name order; when more exist a note at the end says Only the first 200 contacts are shown. The first picture is a made-up distribution company with 232 contacts under 8 regional managers; rows in the middle are hidden in the picture, the end of the chart and the note are real. The table is a real before and after: until version 1.0.2 the company itself counted against the limit, so 199 contacts were drawn and the note appeared for a company with exactly 200 contacts. Now 200 are drawn and the note appears from 201.
A contact beyond the limit is not drawn, and opening its own form underlines nothing: the chart is cut by name order, not around the contact you are on.
The end of a 232-contact chart and the note. Real Odoo screen, rows in the middle hidden for the picture.
The limit before and after. Evidence table.


5 What is drawn, case by case
Use it when you need to know what happens to archived contacts, odd names and bad data.Read-only
A chart you cannot predict is a chart you cannot trust.
The first picture is a company with no contacts: it shows itself and the line No other contacts are linked to this partner. The table lists eleven cases read from the app: the same tree from every contact, badges, nesting, order, an archived contact with active contacts under her (they disappear with her), an archived top company, the form of an archived contact, an unnamed invoice address, HTML typed into names, a 120 letter name, a parent loop forced with SQL, and a new unsaved partner.
Archived contacts take the active contacts under them out of the chart, and the chart of an archived contact does not underline it.
A company with no contacts. Real Odoo screen.
What the chart draws, case by case. Evidence table.


6 What it costs, and when it updates
Use it when you want to know what the tab adds to every form you open.Read-only
A tab you do not open should not slow anything down.
The chart is computed whenever the partner form is read, whether or not the tab is open: 11 database queries for a contact in a 14-contact account, 6 for a company with 232 contacts, 93 for a chain 30 levels deep, against 1 query without the field. No time figure is claimed. The chart follows saved changes only: with the tab open, a job title typed into the form shows in the chart after Save, not before. The table also has two readings from a real Chrome: that typing and the click on a name.
Cost, and what the form does. Evidence table.

7 Tests and controls
Use it when you want to know how the page's statements were checked.Read-only
A page that says it was tested should show what the tests would catch.
23 tests are counted on this version and none fail. The new tests read the chart the way the web client does: logged in as a user, calling the partner form's read over JSON-RPC, and one browser tour clicks the tab and a name. For the fixed limit, the tests were run on the 1.0.2 code first and failed there. The table breaks the module code in 13 different ways on a scratch copy, one at a time; every break makes at least one test fail.
Tests and mutation controls. Evidence table.

What changed in this version
Version 1.0.3 fixes one defect: the limit of 200 counted the top company, so a company with 200 contacts drew 199 and showed a note that said 200. It now draws 200 contacts below the company, as this app always said, and the note appears from 201. It also adds 13 automated tests that read the chart over the web client's own calls, rewrites the screenshots and the text, and states the limits above that the old page did not. The demo video of an earlier version is kept as it was and was not re-recorded.
What it does not do
- Each of these was reproduced in a run of the app on Odoo 19 and is pinned by a test that passes.
Requirements
- Odoo 19.0 or 20.0. The App Store sells each version separately, so buy the one that matches your database.
- Odoo.sh or On-Premise only. Third-party apps cannot be installed on Odoo Online (SaaS) databases. Check your hosting before buying.
- Module
mh_partner_org_chart, version 19.0.1.0.2, licensed OPL-1.