From 79f39b9c12f097f87e618a8af2fa8ffcfca8510f Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Tue, 2 Oct 2012 15:50:53 +0200 Subject: [PATCH] [FIX] versions and class names in doc bzr revid: xmo@openerp.com-20121002135053-0br6kzif8tmarltp --- doc/{changelog-6.2.rst => changelog-7.0.rst} | 4 ++-- doc/conf.py | 4 ++-- doc/index.rst | 2 +- doc/rpc.rst | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) rename doc/{changelog-6.2.rst => changelog-7.0.rst} (97%) diff --git a/doc/changelog-6.2.rst b/doc/changelog-7.0.rst similarity index 97% rename from doc/changelog-6.2.rst rename to doc/changelog-7.0.rst index 48d79bf6398..00d0236f214 100644 --- a/doc/changelog-6.2.rst +++ b/doc/changelog-7.0.rst @@ -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 @@ -85,7 +85,7 @@ DataGroup -> also Model ----------------------- 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 :js:class:`~openerp.web.Query`: :js:func:`~openerp.web.Query.group_by`. diff --git a/doc/conf.py b/doc/conf.py index a5ff6bed7e1..83fc9693f02 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -50,9 +50,9 @@ copyright = u'2012, OpenERP s.a.' # built documents. # # The short X.Y version. -version = '6.1' +version = '7.0' # The full version, including alpha/beta/rc tags. -release = '6.1' +release = '7.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/doc/index.rst b/doc/index.rst index 2598ab7664c..4aa9dcd3b25 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -11,7 +11,7 @@ Contents: .. toctree:: :maxdepth: 1 - changelog-6.2 + changelog-7.0 async rpc diff --git a/doc/rpc.rst b/doc/rpc.rst index d083f87d251..4787978e187 100644 --- a/doc/rpc.rst +++ b/doc/rpc.rst @@ -137,7 +137,7 @@ around and use them differently/add new specifications on them. asked of the server. Grouping can actually be an array or varargs. - :rtype: Deferred> | null + :rtype: Deferred> | null The second set of methods is the "mutator" methods, they create a **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`` 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 it is one in SQLAlchemy `_ [#]_: @@ -238,7 +238,7 @@ regular query for records): }); 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 ---------------------------------------