Browse Source

[IMP] doc: note about XMLRPC + Odoo Online

Also added some styling for guilabel as it was indistinguishable from
regular body text.
master
Xavier Morel 6 years ago
parent
commit
92d1ecdefb
  1. 6
      doc/_extensions/odoo/static/style.css
  2. 9
      doc/_extensions/odoo/static/typography.less
  3. 23
      doc/api_integration.rst

6
doc/_extensions/odoo/static/style.css

@ -8515,6 +8515,12 @@ main article sub {
top: 0.4em;
}
}
.guilabel:before {
content: "❮";
}
.guilabel:after {
content: "❯";
}
body,
header {
position: relative;

9
doc/_extensions/odoo/static/typography.less

@ -185,3 +185,12 @@ main article {
}
}
}
.guilabel {
&:before {
content: "❮";
}
&:after {
content: "❯";
}
}

23
doc/api_integration.rst

@ -94,6 +94,26 @@ Configuration
If you already have an Odoo server installed, you can just use its
parameters
.. warning::
For Odoo Online instances (<domain>.odoo.com), users are created without a
*local* password (as a person you are logged in via the Odoo Online
authentication system, not by the instance itself). To use XML-RPC on Odoo
Online instances, you will need to set a password on the user account you
want to use:
* Log in your instance with an administrator account
* Go to :menuselection:`Settings --> Users --> Users`
* Click on the user you want to use for XML-RPC access
* Click the :guilabel:`Change Password` button
* Set a :guilabel:`New Password` value then click
:guilabel:`Change Password`.
The *server url* is the instance's domain (e.g.
*https://mycompany.odoo.com*), the *database name* is the name of the
instance (e.g. *mycompany*). The *username* is the configured user's login
as shown by the *Change Password* screen.
.. rst-class:: setup doc-aside
.. switcher::
@ -126,6 +146,9 @@ parameters
username = "admin",
password = <insert password for your admin user (default: admin)>;
demo
''''
To make exploration simpler, you can also ask https://demo.odoo.com for a test
database:

Loading…
Cancel
Save