[FIX] versions and class names in doc

bzr revid: xmo@openerp.com-20121002135053-0br6kzif8tmarltp
This commit is contained in:
Xavier Morel 2012-10-02 15:50:53 +02:00
parent c8dead4f60
commit 79f39b9c12
4 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
API changes from OpenERP Web 6.1 to 6.2 API changes from OpenERP Web 6.1 to 7.0
======================================= =======================================
DataSet -> Model DataSet -> Model
@ -85,7 +85,7 @@ DataGroup -> also Model
----------------------- -----------------------
Alongside the deprecation of ``DataSet`` for Alongside the deprecation of ``DataSet`` for
:js:class:`~openerp.web.Model`, OpenERP Web 6.2 also deprecates :js:class:`~openerp.web.Model`, OpenERP Web 7.0 also deprecates
``DataGroup`` and its subtypes in favor of a single method on ``DataGroup`` and its subtypes in favor of a single method on
:js:class:`~openerp.web.Query`: :js:class:`~openerp.web.Query`:
:js:func:`~openerp.web.Query.group_by`. :js:func:`~openerp.web.Query.group_by`.

View File

@ -50,9 +50,9 @@ copyright = u'2012, OpenERP s.a.'
# built documents. # built documents.
# #
# The short X.Y version. # The short X.Y version.
version = '6.1' version = '7.0'
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = '6.1' release = '7.0'
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.

View File

@ -11,7 +11,7 @@ Contents:
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1
changelog-6.2 changelog-7.0
async async
rpc rpc

View File

@ -137,7 +137,7 @@ around and use them differently/add new specifications on them.
asked of the server. Grouping asked of the server. Grouping
can actually be an array or can actually be an array or
varargs. varargs.
:rtype: Deferred<Array<openerp.web.Group>> | null :rtype: Deferred<Array<openerp.web.QueryGroup>> | null
The second set of methods is the "mutator" methods, they create a The second set of methods is the "mutator" methods, they create a
**new** :js:class:`~openerp.web.Query` object with the relevant **new** :js:class:`~openerp.web.Query` object with the relevant
@ -189,7 +189,7 @@ in that they're recursive, and level n+1 relies on data provided
directly by the grouping at level n. As a result, while ``read_group`` directly by the grouping at level n. As a result, while ``read_group``
works it's not a very intuitive API. works it's not a very intuitive API.
OpenERP Web 6.2 eschews direct calls to ``read_group`` in favor of OpenERP Web 7.0 eschews direct calls to ``read_group`` in favor of
calling a method of :js:class:`~openerp.web.Query`, `much in the way calling a method of :js:class:`~openerp.web.Query`, `much in the way
it is one in SQLAlchemy it is one in SQLAlchemy
<http://docs.sqlalchemy.org/en/latest/orm/query.html#sqlalchemy.orm.query.Query.group_by>`_ [#]_: <http://docs.sqlalchemy.org/en/latest/orm/query.html#sqlalchemy.orm.query.Query.group_by>`_ [#]_:
@ -238,7 +238,7 @@ regular query for records):
}); });
The result of a (successful) :js:func:`~openerp.web.Query.group_by` is The result of a (successful) :js:func:`~openerp.web.Query.group_by` is
an array of :js:class:`~openerp.web.data.Group`. an array of :js:class:`~openerp.web.QueryGroup`.
Low-level API: RPC calls to Python side Low-level API: RPC calls to Python side
--------------------------------------- ---------------------------------------