Odoo 19 · 20Tools$69

User Offboarding Check

Request a live demo · Odoo.sh or On-Premise only, not Odoo Online (SaaS).

13

automated tests, none failing

Every

stored field that points at a user, found in the registry

2

findings called out alone: scheduled actions and open activities

0

records changed in anything it counts

1 click

from a count to the records behind it

mail

the only module it depends on

Everything in the database that still points at a user before you archive them: scheduled actions, open activities, assigned records, API keys — and what silently breaks if you archive without reassigning

User Offboarding Check is for the administrator who is about to archive somebody and wants to know, first, what that will leave behind. You pick the person and press Check. It reads the database, and reports every scheduled action set to run as them, every open activity assigned to them, every API key still on their account, and every other record in any installed app that names them in a user field, with a count and a button that opens the records behind each count. It changes nothing it finds, and it reassigns nothing: the decision about who inherits what stays with you. This page describes the Odoo 19 build, and everything on it was checked on an Odoo 19 database seeded with made-up people, with the module installed on its own.

How it works

Why archiving a user is not the end of the job

Use it when somebody is leaving and you are about to press Archive on their account.Reads the database, writes only its own report

Archiving a user in Odoo does one thing: it stops the person logging in. Everything else stays exactly as it was. Every customer that listed them as salesperson still lists them. Every activity assigned to them is still assigned to them, and nobody is told it is now orphaned. Every scheduled action set to run as them is still set to run as them.

That last one is the one that matters. A scheduled action is a job Odoo runs on a timer, and it runs with the rights of the user it is set to. The account of somebody who has left keeps every group it had, because archiving does not touch group membership. So the job goes on creating, writing and deleting as a person who no longer works for you, and nothing in Odoo says so.

User Offboarding Check turns that blind spot into a short report, produced before you archive rather than discovered months afterwards. It adds one entry to the Settings menu. You choose the person, press Check, and read what it found: the scheduled actions, the open activities, the API keys, and a ranked list of every other model that still names them.

It is deliberately a report and nothing more. It does not reassign, archive or delete, because who should inherit a job, a lead or an activity is a decision, and an app that guessed would guess wrong in exactly the cases that matter.

One new entry in the Settings app: User Offboarding.

A finished check: two scheduled actions, five open activities and two API keys for Marcus Bell.

Northfield Office Supply is losing Marcus Bell, a salesperson. The administrator, Alex Morgan, opens User Offboarding, picks Marcus and presses Check. A moment later the page says that two scheduled actions run as Marcus, that five activities are open on his name, that he is the salesperson on fourteen customers and that two API keys are still on his account. None of that would have shown up on the archive screen.

It does not tell you what Marcus could do in the system. That is a different question about access rights, and this app does not answer it. It looks only at what the database already holds against his name.

a list of what still belongs to the leaver, built before you archive, so that each item can be handed to somebody on purpose.

User Offboarding Check: Why archiving a user is not the end of the job
User Offboarding Check: Why archiving a user is not the end of the job

1 Run the check on one person

Use it when you need the full picture for one named person, now.Writes one report record when you press Check

The question before an archive is always the same, and it is surprisingly hard to answer by hand. Odoo has no single screen that says what belongs to a user. You would have to search scheduled actions, then activities, then every app that has a salesperson, a responsible, an owner or a manager field, and you would still not know which fields you had forgotten.

A form with a Check button. Under the user, three counters: Scheduled actions , Open activities and API keys on file . Above them, once the check has run, a button reading Pointing at them with the total number of records, which opens the full list. Below them, the findings text.

The report is a saved record named for the person, such as Offboarding - Marcus Bell , so it can be reopened, shown to a manager, or compared with a later check. Press Check again after you have reassigned things and the report is rebuilt from scratch; lines are replaced, never added on top of the old ones.

Settings > User Offboarding opens the list of checks. Press New to start one.

Alex picks Marcus Bell and presses Check. The form shows 2 scheduled actions, 5 open activities and 2 API keys on file, and the Pointing at them button reads 21: the two scheduled actions, the five activities and the fourteen customers. Alex now knows what to hand over before touching the Archive button.

One person at a time. It does not run a sweep of everybody, and it does not remind you to run it when somebody is archived.

a saved report for one user with their scheduled actions, open activities and API keys counted, plus a written verdict in plain sentences.

The counts are a snapshot taken when you press Check. If somebody assigns Marcus a new activity afterwards, the report does not change until you press Check again.

User Offboarding Check: 1 Run the check on one person

2 The scheduled action that keeps running

Use it when you want to know whether a job will carry on acting as somebody who has left.Read-only: names the jobs, changes nothing

This is the finding that costs the most, so the check puts it first and says it in words. A scheduled action owned by a departed user does not stop. Archiving blocks the login, but the account keeps every group it had, so the nightly export, the weekly digest or the clean-up job goes on running with that person's access rights. You have a login nobody can use that is still writing to your database on a timer.

This was checked rather than assumed. The test suite gives a user the right to create contacts, proves that user can create one, archives the account, and proves the same user can still create one afterwards. A second test shows that an archived user still holds every group they held before. The test carries its own control: the same user does the same thing before and after archiving.

When any scheduled action names the user, the first paragraph of the findings says how many, lists their names (up to five), and tells you in plain words that archiving does not stop them or hand them to anybody. The count also sits in the Scheduled actions counter. In the line list, the scheduled-action row is tinted amber so it stands out from the rest, and in the list of past checks any report with a scheduled action is tinted the same way.

Disabled scheduled actions are counted too: a job somebody switched off is still a job somebody can switch back on, and it still names the user.

The findings for Marcus Bell: his two scheduled actions come first and are named.

Press Open on that line and Odoo's own Scheduled Actions list shows exactly the two jobs.

Marcus owns Nightly price list export and Weekly pipeline digest . The report names both. Alex opens the Scheduled Actions list from the Open button, sees them, and changes each job's user to a service account before archiving Marcus. A second check then shows the Scheduled actions counter at zero.

It does not change who a job runs as, and it does not look inside the job to say what it does. Opening the job and judging it is your call.

the names of the jobs that would carry on as the leaver, on the first line of the report, before you archive the account.

The findings name up to five scheduled actions. If a user owns more, the counter shows the true number and the Open button lists them all.

User Offboarding Check: 2 The scheduled action that keeps running
User Offboarding Check: 2 The scheduled action that keeps running

3 Open activities and API keys

Use it when you need to know what work will be left with nobody, and which keys are left on the account.Read-only: counts, then links

An activity is a to-do attached to a record: call the customer, send the sheet, approve the quote. When its owner leaves it does not move. It sits in their list, on the record it belongs to, as work nobody is going to do. Nothing in Odoo warns you that a customer is waiting on somebody who is gone.

API keys are the other thing a leaver leaves behind. Archiving blocks the login, so the keys stop working with it, but the rows stay in the key list, and the next person to read that list has no idea whether a key belongs to somebody current.

Open activities get their own counter and their own paragraph in the findings: how many are assigned to the user and still open, and a reminder that an activity owned by somebody who has left is one nobody is going to do. Open means the activity has not been marked done; Odoo removes an activity when it is done, so everything it finds is outstanding.

API keys are counted in the API keys on file counter and get a paragraph telling you to delete them so the list stays readable. Keys are counted, not listed: the app reports how many are on the account and leaves the key management to Odoo's own screens.

Open on the Activity line: Odoo's activity list, showing only Marcus's five.

The report shows five open activities for Marcus: three to-dos to send a pricing sheet and two calls about renewals. Alex opens the activity line, sees which customers they sit on, and asks the sales manager to reassign them. The two API keys, named Zapier sync and Reporting script, are deleted from Marcus's account preferences once the integrations behind them are moved.

It does not reassign an activity, mark one done or delete an API key. It cannot tell you which integration uses a key either, because Odoo does not record that.

Activities are found by their assigned user. A customer who was merely mentioned in a chat message, or who follows a record, is not counted. Followers and notifications are left out of the sweep on purpose, because they are subscriptions rather than work.

User Offboarding Check: 3 Open activities and API keys

4 Everything else that points at them

Use it when you want to be sure nothing was missed, including fields from apps you have never audited.Read-only: counts records, changes none

Scheduled actions and activities are the two things that stop something happening, but they are far from the only places a user is named. Salesperson on customers, responsible on tasks, team leader on a sales team, owner on a project: every installed app adds its own. A checklist kept inside an app goes stale the day you install another module, and it misses precisely the custom fields that a leaver is most likely to be named on.

The check asks the database. It walks the model registry and takes every stored field that points at a user, from every installed module, then counts how many records each one holds for this person. It looks at archived records too, so a closed lead that still names the leaver is not hidden.

The result is a list with one row per model and field: the model's name, the field's label in the column Named as (for example Salesperson), and the number of records. The biggest come first. The findings add one sentence naming the five largest and saying plainly that most are harmless history, and that the ones that matter are wherever the field decides who does something next.

Some things are left out on purpose, and the report says so rather than hiding it. Created-by and written-by point at whoever typed something once; counting them would put every record the person ever touched into the report and bury the handful anybody has to act on. Odoo's own plumbing is skipped as well: access rules, login logs, user settings, presence, notifications and followers. So are database views built for reports, because they only repeat rows counted elsewhere. The app's own past reports are skipped, so the report never opens by reporting itself.

One row per model and field, biggest first. The scheduled-action row is tinted.

On the test database only Odoo's base apps are installed, so the list is short: fourteen customers with Marcus as salesperson, five activities and two scheduled actions. Install a CRM, a project app or your own module and its user fields appear on the next check, with no configuration.

The total counts a record once for each field that names the user. A customer who has Marcus as salesperson and also in a second user field adds two to the total, not one.

a ranked list of every record type that still names the leaver, including fields from apps and custom modules the app has never heard of.

The sweep finds fields that hold one user (many-to-one). A field that can hold several users at once, such as the assignees of a task, is not found. Installing some apps also adds per-user rows of their own, for example personal stages in a project app, so on such a database even a user who owns nothing will show a few lines.

User Offboarding Check: 4 Everything else that points at them

5 Open the records behind any line

Use it when you are ready to reassign and want the exact records in front of you.Opens Odoo's own lists, nothing is written

A count of fourteen is useful. A count of fourteen that you then have to go and find is a chore. If the report stopped at numbers, you would still be building a search by hand in each app, with the leaver's name typed into a filter, to see which fourteen.

Every line has an Open button. It opens that model's own list in Odoo, already filtered to the records that name this user in that field, including archived ones. From there it is ordinary Odoo: change the salesperson with Odoo's own editing tools, and move on.

The Pointing at them button at the top of the form opens the whole line list as a page of its own, with the same Open buttons, for when you want to work through it row by row.

Open on the Contact line: Odoo's customer list, showing only the customers that name Marcus.

Alex presses Open on the Contact line and moves the fourteen customers to Elena Rossi with Odoo's own editing tools. A new check on Marcus now shows no Contact line, and the Pointing at them total has dropped by fourteen.

It does not offer a Reassign button. The list it opens is Odoo's, with Odoo's own editing rights, so what you can change from it depends on your own access.

no search to build: each count is one click from the exact records, ready to select and reassign with the tools you already use.

The Open button shows what is there now, not what was there when you pressed Check. Press Check again after a reassignment to bring the counts up to date.

User Offboarding Check: 5 Open the records behind any line

6 A clear verdict, archived users, and history

Use it when you want a clean bill of health, need to check somebody already archived, or want to see past reports.Each check is saved as a report

Two awkward cases come up in practice. The first is the person who really does own nothing: you want that said clearly, not a screen that is merely empty. The second is the person who was archived months ago and whose scheduled actions turn out to be the thing that is misbehaving.

If nothing in the database points at the user, the findings say so in one sentence: nothing points at this user and they can be archived without anything needing to be reassigned first. When something does, the verdict is the list of findings in the order scheduled actions, open activities, other records, API keys.

Archived users can be checked. The report is as useful after the fact; it is just more expensive to act on. The check reads the same way for an archived account as for an active one, and a scheduled action owned by an archived user is found like any other. The list on the Settings screen shows each person with the date and the four numbers.

That list keeps every check, newest first, with a report tinted amber whenever a scheduled action was found (see section 1). Reports are plain records, so you can reopen one, run it again, or delete it.

Tom Hayes owns nothing, and the report says so in one sentence.

Dana Whitfield was already archived. Her monthly job is still found.

The shared mailbox job started failing in the spring and nobody knew why. Alex checks Dana Whitfield, archived in March: one scheduled action, Monthly dormant customer sweep , is still set to run as her. Tom Hayes, checked the same day, comes back clear and can be archived straight away.

It does not decide whether somebody should be archived and does not archive them. It reports, and you act.

a plain verdict either way, the same answer for an archived account as for an active one, and a saved history of who was checked and when.

The verdict can only say that nothing it looks at points at the user. On a database with an app that adds rows of its own for every user, a clean result may never appear, as section 4 explains.

User Offboarding Check: 6 A clear verdict, archived users, and history
User Offboarding Check: 6 A clear verdict, archived users, and history

7 Built to stay out of the way

Use it when you want to know what the app touches before you let it loose on a live database.Administrators only; writes its own report records

A tool that reads across every model in the database deserves suspicion. It sees everything, so it has to be restricted, and it must not change anything it looks at.

The menu and both models are available to administrators only, the Settings group. Nobody else sees the menu, and nobody else can read a report. The check reads each model with administrator rights, because it has to count records that the person running it might not otherwise be allowed to see.

What it writes is limited to its own records: the report and its lines. It never writes to a customer, an activity, a scheduled action or an API key. It depends only on Odoo's Discuss module. If one model refuses to be searched, say a report view with no table behind it, the check skips that model and carries on rather than failing the whole report.

What you get: a read-only sweep, restricted to administrators, whose only output is its own report. Thirteen automated tests cover the sweep, the findings and the claim about archived users, and none fails.

In practice: Alex runs the check on the live database at the end of a working day. Nothing is locked, no customer or job is changed, and the only new rows are the report and its lines. Deleting the report afterwards leaves the database as it was.

Heads-up: because the check reads everything, a report holds model names and counts about records you may not want every colleague to see. It stays inside the administrator menu for that reason. It does not log who ran a check, and it holds counts, not content.

Who it is for

The Odoo administrator who archives leavers and wants a checklist produced by the database rather than kept in their head.

The IT lead or office manager who has to sign off an offboarding and wants a saved report that shows what was reassigned and what was found.

Anyone inheriting an Odoo database who suspects jobs are running as people who left a long time ago: check the archived accounts and see.

It is not for end users, who never see it, and it is not an access audit, an activity log or an automatic reassignment tool.

What this app does not do

It does not reassign anything, archive anybody or judge whether somebody should be archived. It reports; you decide and act.

It finds fields that hold exactly one user. Fields that can hold several users, such as the assignees of a task, are not found, and neither are followers, because they are subscriptions and not work.

Created-by and written-by are left out on purpose, as are Odoo's own access rules, logs, user settings and notifications.

The total counts a record once for each field that names the user, so a record naming the user twice is counted twice.

On a database where an installed app adds rows for every user, those rows appear in every report and a completely clear verdict may never show. Count them as noise and read the lines that matter.

The counts are a snapshot. Press Check again after you reassign something.

API keys are counted, not listed, and the findings name at most five scheduled actions and five models.

It reads across every model with administrator rights, so only administrators can open it. It does not read activity logs, track who did what, or report what a user could do.

Questions buyers ask

Does it archive the user or reassign anything?

No. It only reports. Reassigning is a decision about who should inherit each job, lead or activity, and the app does not guess.

Does an archived user's scheduled action really keep running?

Yes. Archiving blocks the login and nothing else; the account keeps every group, so the job keeps its rights. The module's test suite pins this down with a control: the same user, the same action, before and after archiving.

Will it find fields from my other apps?

Yes. It reads the model registry for every stored field that points at a user, so apps and custom modules installed on your database are covered without a list to maintain.

Why are created-by and written-by not counted?

They point at whoever typed something once. Counting them would put every record the person ever touched into the report and bury the few you need to act on.

Can I check somebody who is already archived?

Yes. A check can be made for an archived user, and it reads their records, archived ones included.

Does it find tasks assigned to several people?

No. It counts fields that hold a single user. A field that holds a list of users, such as the assignees of a task, is not found.

Who can use it?

Administrators only. The menu and both models are restricted to the Settings group.

Can it slow my server down?

It runs only when you press Check, for one person, with one count query per user field. On the test database it finished in about a hundredth of a second; on a large database the cost grows with the number of records that name the person, and it writes only its own report.

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_user_offboarding, version 19.0.1.0.21, licensed OPL-1.