From 6e78e1ffa98ca5d1550e9f166335d57ab7903ee7 Mon Sep 17 00:00:00 2001 From: "Tom Aarab (toaa)" Date: Wed, 25 Oct 2023 15:54:02 +0200 Subject: [PATCH] [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 odoo/documentation#6226 X-original-commit: 323d3563c9d84d43b66a85e68598dd8b683bdb61 Signed-off-by: Xavier Platteau (xpl) Signed-off-by: Tom Aarab (toaa) --- .../accounting/reporting/silverfin.rst | 31 ++++++++++--------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/content/applications/finance/accounting/reporting/silverfin.rst b/content/applications/finance/accounting/reporting/silverfin.rst index 01124cbda..3b5645c33 100644 --- a/content/applications/finance/accounting/reporting/silverfin.rst +++ b/content/applications/finance/accounting/reporting/silverfin.rst @@ -23,12 +23,12 @@ Odoo API key ------------ You can create Odoo external API keys either :ref:`for a single database ` -(hosting: Odoo Online, On-premise, and Odoo.sh) or :ref:`for multiple databases managed by a user +(hosting: Odoo Online, On-premise, and Odoo.sh) or :ref:`for all databases managed by a single user ` (hosting: Odoo Online). .. important:: - These API keys are personal and provide full access to your user account. Store it securely. - - You can copy the API key only at its creation, and you cannot retrieve it later. + - You can copy the API key only at its creation. It is not possible to retrieve it later. - If you need it again, create a new API key (and delete the old one). .. seealso:: @@ -36,15 +36,15 @@ You can create Odoo external API keys either :ref:`for a single database `, click on the user menu, and then :guilabel:`My Profile` / +:guilabel:`Preferences`. Under the :guilabel:`Account Security` tab, click on :guilabel:`New API +Key`, confirm your password, give a descriptive name to your new key, and copy the API key. .. image:: silverfin/api-key-db.png - :align: center :alt: creation of an Odoo external API key for a database .. seealso:: @@ -52,15 +52,18 @@ key`, confirm your password, give a descriptive name to your new key, and copy t .. _silverfin/api-multipledb: -One key for multiple databases (fiduciaries) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +For all databases (fiduciaries) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -To create a new API key valid for all the databases of a single user **(the easiest for -fiduciaries)**, navigate to `Odoo's website `_ and sign in with your -administrator account. Next, open `your account security settings in developer mode +To add an API key to **all** databases managed by a single user at the same time **(the easiest +method for fiduciaries)**, navigate to `Odoo's website `_ and sign in with +your administrator account. Next, open `your account security settings in developer mode `_, click on :guilabel:`New API Key`, confirm your password, give a descriptive name to your new key, and copy the new API key. +.. tip:: + Open the `database manager `_ to view all databases that will + be linked to the single API key. + .. image:: silverfin/api-key-user.png - :align: center :alt: creation of an Odoo external API key for an Odoo user