diff --git a/content/developer/howtos/rdtraining/B_acl_irrules.rst b/content/developer/howtos/rdtraining/B_acl_irrules.rst index c4784614e..2c0c5f391 100644 --- a/content/developer/howtos/rdtraining/B_acl_irrules.rst +++ b/content/developer/howtos/rdtraining/B_acl_irrules.rst @@ -481,7 +481,7 @@ or a *visibility* feature before using it: * *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 - 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. * *Security* features mean a user can not access records, fields or operations. diff --git a/content/developer/misc/api.rst b/content/developer/misc/api.rst index c440f9f7d..7fa78b94f 100644 --- a/content/developer/misc/api.rst +++ b/content/developer/misc/api.rst @@ -7,6 +7,6 @@ API .. toctree:: :titlesonly: - api/odoo + api/external_api api/iap api/extract_api diff --git a/content/developer/misc/api/odoo.rst b/content/developer/misc/api/external_api.rst similarity index 99% rename from content/developer/misc/api/odoo.rst rename to content/developer/misc/api/external_api.rst index 4e6b9584d..a34df52c7 100644 --- a/content/developer/misc/api/odoo.rst +++ b/content/developer/misc/api/external_api.rst @@ -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 :guilabel:`Preferences` (or :guilabel:`My Profile`): -.. image:: odoo/preferences.png +.. image:: external_api/preferences.png :align: center then open the :guilabel:`Account Security` tab, and click :guilabel:`New API Key`: -.. image:: odoo/account-security.png +.. image:: external_api/account-security.png :align: center 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 :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 **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())); -.. _api/odoo/calling_methods: +.. _api/external_api/calling_methods: Calling methods =============== diff --git a/content/developer/misc/api/external_api/account-security.png b/content/developer/misc/api/external_api/account-security.png new file mode 100644 index 000000000..cf91646dd Binary files /dev/null and b/content/developer/misc/api/external_api/account-security.png differ diff --git a/content/developer/misc/api/external_api/delete-key.png b/content/developer/misc/api/external_api/delete-key.png new file mode 100644 index 000000000..df14cb35d Binary files /dev/null and b/content/developer/misc/api/external_api/delete-key.png differ diff --git a/content/developer/misc/api/external_api/preferences.png b/content/developer/misc/api/external_api/preferences.png new file mode 100644 index 000000000..1ce36717e Binary files /dev/null and b/content/developer/misc/api/external_api/preferences.png differ diff --git a/content/developer/reference/addons/security.rst b/content/developer/reference/addons/security.rst index 30c2ad1c5..39b10b612 100644 --- a/content/developer/reference/addons/security.rst +++ b/content/developer/reference/addons/security.rst @@ -203,7 +203,7 @@ Unsafe Public Methods --------------------- Any public method can be executed via a :ref:`RPC call -` with the chosen parameters. The methods +` with the chosen parameters. The methods 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