diff options
| author | Martin Trigaux <mat@odoo.com> | 2016-07-25 14:10:15 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-07-25 14:30:20 +0200 |
| commit | 880df4e8b67b408c390d9a24b0dfcfcd1494632b (patch) | |
| tree | d318d868d7da9e5403c427714df5cf0783be3213 /doc | |
| parent | 150bf7dba650bf149720f5e2ac32d42543a672f9 (diff) | |
[IMP] doc: clarify web client terminology
To avoid confusion such as in #12884
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/reference/javascript.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/reference/javascript.rst b/doc/reference/javascript.rst index 6c43e7e044c..342d8484b67 100644 --- a/doc/reference/javascript.rst +++ b/doc/reference/javascript.rst @@ -428,9 +428,9 @@ High-level API: calling into Odoo models ------------------------------------------- Access to Odoo object methods (made available through XML-RPC from the server) -is done via :class:`Model` (exported in ``web.Model``). It maps onto the Odoo server objects via -two primary methods, :func:`~Model.call` and -:func:`~Model.query`. +is done via :class:`Model`. It maps onto the Odoo server objects via two primary +methods, :func:`~Model.call` (exported in ``web.Model``) and :func:`~Model.query` +(exported in ``web.DataModel``, only available in the backend client). :func:`~Model.call` is a direct mapping to the corresponding method of the Odoo server object. Its usage is similar to that of the Odoo Model API, |
