[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:
parent
91c20a2c03
commit
0fc521886f
@ -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.
|
||||||
|
|
||||||
|
@ -7,6 +7,6 @@ API
|
|||||||
.. toctree::
|
.. toctree::
|
||||||
:titlesonly:
|
:titlesonly:
|
||||||
|
|
||||||
api/odoo
|
api/external_api
|
||||||
api/iap
|
api/iap
|
||||||
api/extract_api
|
api/extract_api
|
||||||
|
@ -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
|
||||||
===============
|
===============
|
BIN
content/developer/misc/api/external_api/account-security.png
Normal file
BIN
content/developer/misc/api/external_api/account-security.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
content/developer/misc/api/external_api/delete-key.png
Normal file
BIN
content/developer/misc/api/external_api/delete-key.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
BIN
content/developer/misc/api/external_api/preferences.png
Normal file
BIN
content/developer/misc/api/external_api/preferences.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user