Setup and details
This article covers Odoo 20. Running an earlier version? See Odoo 19, which is set up the same way, or Odoo 18, which is set up differently.
Odoo does not offer OAuth flows, so the integration authenticates with a user-level API key: it acts as the user who issued the key and inherits exactly the permissions that user has in Odoo (what they can access, modify or delete). On Odoo 20, uman works with your instance over the JSON-2 API, just like on Odoo 19.
Data mapping
The table below shows what the integration reads from and writes to your Odoo, object by object.
uman object | Odoo model | What uman reads | What uman writes |
Account | res.partner | Name | Creates Companies (name + any other required field) |
Contact | res.partner | First name, last name, email, phone, title and the linked Company | Creates or updates Contacts (first name, last name, email, phone, title, the linked Company + any other required field) |
Deal | crm.lead | Name, stage, pipeline, close date and the linked Company | Creates Leads (name, stage, pipeline, the linked Company) and updates the stage + any other required field |
Pipeline | crm.team and crm.stage | Sales teams and their stages | Read only |
Note | mail.message | Messages attached to a Company, Contact or Lead | Creates or updates Messages (title and content). Every message is linked to a Company, Contact or Lead |
mail.message | Messages of type email logged on a Company, its Contacts or the Leads of either (archived ones included), over the last two years: subject, sender, recipients, date and body. Emails sent only between colleagues are left out | Read only | |
Custom object | Any Odoo model | Fields required to create a Company, Contact or Lead | Objects required to create a Company, Contact or Lead, with any field those objects require |
The integration also uses res.users and res.users.apikeys (the connected user and their API keys) and ir.module.module (installed modules).
API keys on Odoo 20
An Odoo API key expires after 3 months at the most.
uman renews the key for you before it expires, so your team does not have to reconnect every quarter. This needs the one-time administrator setup below.
The key uman creates for renewal is named uman-integration-key, so you may see a key with that name appear on your Odoo account after you connect. Don't give your own key that name.
Setup Instructions
Connecting Odoo 20 takes two parts: a one-time setup by an administrator, and a personal connection by every uman user who works with your CRM.
Administrator setup
1. Allow uman to renew API keys
Browse to your Odoo homepage and open Settings.
Under General Settings, go to Developer tools and activate developer mode. Without it, the Technical menu stays hidden.
Go to Settings > Technical > System Parameters.
Set the parameter base.enable_programmatic_api_keys to True. If it is not in the list yet, click New in the top right and add it.
Without this parameter, uman cannot renew API keys: every key expires and each user has to create and paste a new one.
2. Give the connecting users Sales access rights
Every user who connects Odoo to uman needs Sales access rights, at least User: Own Documents Only. These permissions are required to access the objects uman requires from Odoo.
Go to Settings > Users & Companies > Users and open the user.
On the Access Rights tab, update the Sales value.
3. Connect your uman workspace with your Odoo instance
Browse to your uman workspace and open the Settings menu.
Go to Apps under the Workspace section.
Click the Connect button under Odoo 20 and fill in:
Instance URL: the base URL of your Odoo instance, for example https://mycompany.odoo.com
Database: the name of the Odoo database uman should connect to
Sales user setup
1. Create your API key in Odoo (official documentation)
Browse to your Odoo homepage and click your avatar in the top right.
Click My Preferences, then open the Security tab.
Under API Keys, click Add API Key (you might need to provide your password).
Enter a name and duration. Any name works, except uman-integration-key, which uman reserves.
Pick a scope for the key: choose RPC.
Click Generate Key and copy the generated API key from the popup window.
2. Connect uman to Odoo 20
Browse to your uman homepage.
Click the settings cogwheel in the bottom left.
In the Personal section, click Apps.
Click the Connect button under Odoo 20.
Paste your newly generated key into API Key, and fill in Email with the email address you use to log in to Odoo.
FAQ
Why does uman need our database name?
One Odoo instance can host several databases. uman sends the database name with every request, so your data is always read from and written to the right one.
Can we connect Odoo once for the whole workspace instead?
No, every user connects with their own API key and works within their own Odoo permissions. Records they create or update in Odoo are attributed to them.
What happens when someone's Odoo permissions change?
The integration follows them: the API key can only reach what that user can reach in Odoo. If they lose access to a record, uman loses it too.
Why does uman say opportunities instead of deals?
With Odoo connected, uman calls deals opportunities, as Odoo does.
Does Odoo 20 work in the uman mobile app?
Yes. In the meeting follow-up, the app shows the section named after your CRM, where you update the meeting's opportunities and push the visit report, just like for any other CRM. See Using the uman mobile app.
For further assistance, please contact our support team.