[MOV] developer/api/odoo: rename odoo.rst into external_api.rst

The previous file name was not very relevant in regard to the content of
the page, and it conflicted with the `sys.path`.

closes odoo/documentation#2026

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Antoine Vandevenne (anv) 2022-05-20 11:42:10 +00:00
parent 91c20a2c03
commit 0fc521886f
7 changed files with 7 additions and 7 deletions

View File

@ -481,7 +481,7 @@ or a *visibility* feature before using it:
* *Visibility* features mean a user can still access the model or record * *Visibility* features mean a user can still access the model or record
otherwise, either through an other part of the interface or by :doc:`perform otherwise, either through an other part of the interface or by :doc:`perform
operations remotely using RPC <../../misc/api/odoo>`, things might just not be operations remotely using RPC <../../misc/api/external_api>`, things might just not be
visible in the web interface in some contexts. visible in the web interface in some contexts.
* *Security* features mean a user can not access records, fields or operations. * *Security* features mean a user can not access records, fields or operations.

View File

@ -7,6 +7,6 @@ API
.. toctree:: .. toctree::
:titlesonly: :titlesonly:
api/odoo api/external_api
api/iap api/iap
api/extract_api api/extract_api

View File

@ -80,13 +80,13 @@ account (although they can not be used to log-in via the interface).
In order to add a key to your account, simply go to your In order to add a key to your account, simply go to your
:guilabel:`Preferences` (or :guilabel:`My Profile`): :guilabel:`Preferences` (or :guilabel:`My Profile`):
.. image:: odoo/preferences.png .. image:: external_api/preferences.png
:align: center :align: center
then open the :guilabel:`Account Security` tab, and click then open the :guilabel:`Account Security` tab, and click
:guilabel:`New API Key`: :guilabel:`New API Key`:
.. image:: odoo/account-security.png .. image:: external_api/account-security.png
:align: center :align: center
Input a description for the key, **this description should be as clear and Input a description for the key, **this description should be as clear and
@ -102,7 +102,7 @@ lost).
Once you have keys configured on your account, they will appear above the Once you have keys configured on your account, they will appear above the
:guilabel:`New API Key` button, and you will be able to delete them: :guilabel:`New API Key` button, and you will be able to delete them:
.. image:: odoo/delete-key.png .. image:: external_api/delete-key.png
:align: center :align: center
**A deleted API key can not be undeleted or re-set**. You will have to generate **A deleted API key can not be undeleted or re-set**. You will have to generate
@ -237,7 +237,7 @@ Result:
int uid = (int)client.execute(common_config, "authenticate", asList(db, username, password, emptyMap())); int uid = (int)client.execute(common_config, "authenticate", asList(db, username, password, emptyMap()));
.. _api/odoo/calling_methods: .. _api/external_api/calling_methods:
Calling methods Calling methods
=============== ===============

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -203,7 +203,7 @@ Unsafe Public Methods
--------------------- ---------------------
Any public method can be executed via a :ref:`RPC call Any public method can be executed via a :ref:`RPC call
<api/odoo/calling_methods>` with the chosen parameters. The methods <api/external_api/calling_methods>` with the chosen parameters. The methods
starting with a ``_`` are not callable from an action button or external API. starting with a ``_`` are not callable from an action button or external API.
On public methods, the record on which a method is executed and the parameters On public methods, the record on which a method is executed and the parameters