Skip to content

Commit 885e525

Browse files
toaa-odooxpl-odoo
authored andcommitted
[IMP] silverfin: API key
Added a note to make it clearer that for fiduciaries, a single API key is valid for all databases linked to the user. taskid-3570700 closes #6225 X-original-commit: 323d356 Signed-off-by: Xavier Platteau (xpl) <xpl@odoo.com> Signed-off-by: Tom Aarab (toaa) <toaa@odoo.com>
1 parent dcee09e commit 885e525

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

content/applications/finance/accounting/reporting/silverfin.rst

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,44 +23,47 @@ Odoo API key
2323
------------
2424

2525
You can create Odoo external API keys either :ref:`for a single database <silverfin/api-singledb>`
26-
(hosting: Odoo Online, On-premise, and Odoo.sh) or :ref:`for multiple databases managed by a user
26+
(hosting: Odoo Online, On-premise, and Odoo.sh) or :ref:`for all databases managed by a single user
2727
<silverfin/api-multipledb>` (hosting: Odoo Online).
2828

2929
.. important::
3030
- These API keys are personal and provide full access to your user account. Store it securely.
31-
- You can copy the API key only at its creation, and you cannot retrieve it later.
31+
- You can copy the API key only at its creation. It is not possible to retrieve it later.
3232
- If you need it again, create a new API key (and delete the old one).
3333

3434
.. seealso::
3535
:doc:`/developer/reference/external_api`
3636

3737
.. _silverfin/api-singledb:
3838

39-
One key per database
40-
~~~~~~~~~~~~~~~~~~~~
39+
Per database
40+
~~~~~~~~~~~~
4141

42-
To create a new API key valid for a single database, click on the user menu, then on
43-
:guilabel:`My Profile`. Under the :guilabel:`Account Security` tab, click on :guilabel:`New API
44-
key`, confirm your password, give a descriptive name to your new key, and copy the new API key.
42+
To add an API key to a **single** database, connect to the database, enable the :ref:`developer
43+
mode <developer-mode>`, click on the user menu, and then :guilabel:`My Profile` /
44+
:guilabel:`Preferences`. Under the :guilabel:`Account Security` tab, click on :guilabel:`New API
45+
Key`, confirm your password, give a descriptive name to your new key, and copy the API key.
4546

4647
.. image:: silverfin/api-key-db.png
47-
:align: center
4848
:alt: creation of an Odoo external API key for a database
4949

5050
.. seealso::
5151
:ref:`api/external_api/keys`
5252

5353
.. _silverfin/api-multipledb:
5454

55-
One key for multiple databases (fiduciaries)
56-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55+
For all databases (fiduciaries)
56+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5757

58-
To create a new API key valid for all the databases of a single user **(the easiest for
59-
fiduciaries)**, navigate to `Odoo's website <https://www.odoo.com>`_ and sign in with your
60-
administrator account. Next, open `your account security settings in developer mode
58+
To add an API key to **all** databases managed by a single user at the same time **(the easiest
59+
method for fiduciaries)**, navigate to `Odoo's website <https://www.odoo.com>`_ and sign in with
60+
your administrator account. Next, open `your account security settings in developer mode
6161
<https://www.odoo.com/my/security?debug=1>`_, click on :guilabel:`New API Key`, confirm your
6262
password, give a descriptive name to your new key, and copy the new API key.
6363

64+
.. tip::
65+
Open the `database manager <https://www.odoo.com/my/databases>`_ to view all databases that will
66+
be linked to the single API key.
67+
6468
.. image:: silverfin/api-key-user.png
65-
:align: center
6669
:alt: creation of an Odoo external API key for an Odoo user

0 commit comments

Comments
 (0)