diff --git a/doc/howtos/backend/exercise-access-rules b/doc/howtos/backend/exercise-access-rules
index 1d78adb984e..d6290dfdbe1 100644
--- a/doc/howtos/backend/exercise-access-rules
+++ b/doc/howtos/backend/exercise-access-rules
@@ -23,5 +23,5 @@ Index: addons/openacademy/security/security.xml
+ ('responsible_id','=',user.id)]
+
+
-
+
diff --git a/doc/howtos/backend/exercise-demo b/doc/howtos/backend/exercise-demo
index 69b202db15d..50a9564424a 100644
--- a/doc/howtos/backend/exercise-demo
+++ b/doc/howtos/backend/exercise-demo
@@ -7,7 +7,7 @@ Index: addons/openacademy/demo.xml
+++ addons/openacademy/demo.xml 2014-08-26 17:25:52.679783480 +0200
@@ -1,25 +1,19 @@
-
+
-
-
-
@@ -44,5 +44,5 @@ Index: addons/openacademy/demo.xml
+ Course 2
+ Course 2's description
+
-
+
diff --git a/doc/howtos/backend/exercise-domain-advanced b/doc/howtos/backend/exercise-domain-advanced
index db7b89f5d81..55d5e1da708 100644
--- a/doc/howtos/backend/exercise-domain-advanced
+++ b/doc/howtos/backend/exercise-domain-advanced
@@ -39,5 +39,5 @@ Index: addons/openacademy/views/partner.xml
+
+ Teacher / Level 2
+
-
+
diff --git a/doc/howtos/backend/exercise-formview b/doc/howtos/backend/exercise-formview
index c42d451b1ea..9f80bc2f768 100644
--- a/doc/howtos/backend/exercise-formview
+++ b/doc/howtos/backend/exercise-formview
@@ -8,7 +8,7 @@ Index: addons/openacademy/views/openacademy.xml
@@ -1,6 +1,21 @@
-
+
+
+ course.form
+ openacademy.course
diff --git a/doc/howtos/backend/exercise-gantt b/doc/howtos/backend/exercise-gantt
index da37764a010..63c3981f09e 100644
--- a/doc/howtos/backend/exercise-gantt
+++ b/doc/howtos/backend/exercise-gantt
@@ -34,7 +34,7 @@ diff --git a/openacademy/models.py b/openacademy/models.py
diff --git a/openacademy/views/openacademy.xml b/openacademy/views/openacademy.xml
--- a/openacademy/views/openacademy.xml
+++ b/openacademy/views/openacademy.xml
-@@ -145,11 +145,23 @@
+@@ -143,11 +143,23 @@
diff --git a/doc/howtos/backend/exercise-graph b/doc/howtos/backend/exercise-graph
index 07fdd467ef1..ca38438971d 100644
--- a/doc/howtos/backend/exercise-graph
+++ b/doc/howtos/backend/exercise-graph
@@ -30,7 +30,7 @@ diff --git a/openacademy/models.py b/openacademy/models.py
diff --git a/openacademy/views/openacademy.xml b/openacademy/views/openacademy.xml
--- a/openacademy/views/openacademy.xml
+++ b/openacademy/views/openacademy.xml
-@@ -157,11 +157,22 @@
+@@ -155,11 +155,22 @@
diff --git a/doc/howtos/backend/exercise-kanban b/doc/howtos/backend/exercise-kanban
index 14899f46a3d..a3387aa6e6c 100644
--- a/doc/howtos/backend/exercise-kanban
+++ b/doc/howtos/backend/exercise-kanban
@@ -17,7 +17,7 @@ Index: addons/openacademy/views/openacademy.xml
===================================================================
--- addons.orig/openacademy/views/openacademy.xml 2014-08-28 14:21:58.627015606 +0200
+++ addons/openacademy/views/openacademy.xml 2014-08-28 14:21:58.623015606 +0200
-@@ -168,11 +168,57 @@
+@@ -166,11 +166,57 @@
diff --git a/doc/howtos/backend/exercise-session b/doc/howtos/backend/exercise-session
index a189a3d3a64..9555847336b 100644
--- a/doc/howtos/backend/exercise-session
+++ b/doc/howtos/backend/exercise-session
@@ -54,5 +54,5 @@ Index: addons/openacademy/views/openacademy.xml
+
-
+
diff --git a/doc/howtos/backend/exercise-wizard-action b/doc/howtos/backend/exercise-wizard-action
index 23d6a0f2667..6cf27a3d41d 100644
--- a/doc/howtos/backend/exercise-wizard-action
+++ b/doc/howtos/backend/exercise-wizard-action
@@ -2,7 +2,7 @@ Index: addons/openacademy/views/openacademy.xml
===================================================================
--- addons.orig/openacademy/views/openacademy.xml 2014-08-28 14:34:19.255004611 +0200
+++ addons/openacademy/views/openacademy.xml 2014-08-28 14:34:19.251004612 +0200
-@@ -234,6 +234,12 @@
+@@ -232,6 +232,12 @@
diff --git a/doc/howtos/backend/exercise-wizard-launch b/doc/howtos/backend/exercise-wizard-launch
index 7b5d65c8074..7f76c45cbaf 100644
--- a/doc/howtos/backend/exercise-wizard-launch
+++ b/doc/howtos/backend/exercise-wizard-launch
@@ -17,11 +17,10 @@ Index: addons/openacademy/views/openacademy.xml
===================================================================
--- addons.orig/openacademy/views/openacademy.xml 2014-08-28 14:34:07.879004780 +0200
+++ addons/openacademy/views/openacademy.xml 2014-08-28 14:34:07.871004780 +0200
-@@ -224,5 +224,26 @@
-
-+
+
+
+ wizard.form
+ openacademy.wizard
@@ -42,5 +41,5 @@ Index: addons/openacademy/views/openacademy.xml
+ view_mode="form"
+ target="new"
+ key2="client_action_multi"/>
-
++
diff --git a/doc/howtos/backend/exercise-wizard-multi b/doc/howtos/backend/exercise-wizard-multi
index f8ece675090..4386dd90d90 100644
--- a/doc/howtos/backend/exercise-wizard-multi
+++ b/doc/howtos/backend/exercise-wizard-multi
@@ -2,7 +2,7 @@ Index: addons/openacademy/views/openacademy.xml
===================================================================
--- addons.orig/openacademy/views/openacademy.xml 2014-08-28 14:34:28.583004473 +0200
+++ addons/openacademy/views/openacademy.xml 2014-08-28 14:34:28.579004473 +0200
-@@ -231,7 +231,7 @@
+@@ -229,7 +229,7 @@
diff --git a/doc/howtos/website/course-views b/doc/howtos/website/course-views
index c1373b8df74..a624ef9dc8b 100644
--- a/doc/howtos/website/course-views
+++ b/doc/howtos/website/course-views
@@ -3,7 +3,7 @@
diff -r c687289c105f -r 1012f1736bb6 academy/views.xml
--- a/academy/views.xml Thu Aug 14 12:58:50 2014 +0200
+++ b/academy/views.xml Thu Aug 14 13:00:19 2014 +0200
-@@ -18,9 +18,51 @@
+@@ -19,9 +19,51 @@
diff --git a/doc/howtos/website/demo-data b/doc/howtos/website/demo-data
index 0e34b57463b..bf50fd31632 100644
--- a/doc/howtos/website/demo-data
+++ b/doc/howtos/website/demo-data
@@ -7,7 +7,7 @@ diff --git a/academy/demo.xml b/academy/demo.xml
+++ b/academy/demo.xml
@@ -1,25 +1,13 @@
-
+
-
-
-
@@ -38,5 +38,5 @@ diff --git a/academy/demo.xml b/academy/demo.xml
+
+ Lester Vaughn
+
-
+
diff --git a/doc/howtos/website/teachers-formview b/doc/howtos/website/teachers-formview
index 28dd3df9bd9..407938fde83 100644
--- a/doc/howtos/website/teachers-formview
+++ b/doc/howtos/website/teachers-formview
@@ -3,7 +3,7 @@
diff -r 0201053e995d -r c3705f93fcea academy/views.xml
--- a/academy/views.xml Wed Aug 13 11:04:49 2014 +0200
+++ b/academy/views.xml Wed Aug 13 11:04:55 2014 +0200
-@@ -4,6 +4,20 @@
+@@ -5,6 +5,20 @@
academy.teachers
diff --git a/doc/howtos/website/template b/doc/howtos/website/template
index 705eb4c4165..a7e68254c65 100644
--- a/doc/howtos/website/template
+++ b/doc/howtos/website/template
@@ -21,7 +21,7 @@ diff --git a/academy/templates.xml b/academy/templates.xml
+++ b/academy/templates.xml
@@ -1,14 +1,11 @@
-
+
-
-
-
diff --git a/doc/howtos/website/website-support b/doc/howtos/website/website-support
index 3fadb435430..8df46dc7a5a 100644
--- a/doc/howtos/website/website-support
+++ b/doc/howtos/website/website-support
@@ -31,7 +31,7 @@ diff --git a/academy/templates.xml b/academy/templates.xml
+++ b/academy/templates.xml
@@ -1,9 +1,15 @@
-
+
- Academy
-
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index 2f41bb61a7f..c2463245998 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -881,8 +881,6 @@ Possible children of the view element are:
The kanban view uses mostly-standard :ref:`javascript qweb
` and provides the following context variables:
- ``instance``
- the current :ref:`reference/javascript/client` instance
``widget``
the current :js:class:`KanbanRecord`, can be used to fetch some
meta-information. These methods are also available directly in the
@@ -894,8 +892,6 @@ Possible children of the view element are:
a :meth:`~odoo.models.Model.read` (except for date and datetime fields
that are `formatted according to user's locale
`_)
- ``formats``
- the :js:class:`web.formats` module to manipulate and convert values
``read_only_mode``
self-explanatory
@@ -929,40 +925,7 @@ Possible children of the view element are:
* kanban-specific CSS
* kanban structures/widgets (vignette, details, ...)
-Javascript API
---------------
-
-.. js:class:: KanbanRecord
-
- :js:class:`Widget` handling the rendering of a single record to a
- card. Available within its own rendering as ``widget`` in the template
- context.
-
- .. js:function:: kanban_color(raw_value)
-
- Converts a color segmentation value to a kanban color class
- :samp:`oe_kanban_color_{color_index}`. The built-in CSS provides classes
- up to a ``color_index`` of 9.
-
- .. js:function:: kanban_getcolor(raw_value)
-
- Converts a color segmentation value to a color index (between 0 and 9 by
- default). Color segmentation values can be either numbers or strings.
-
- .. js:function:: kanban_image(model, field, id[, cache][, options])
-
- Generates the URL to the specified field as an image access.
-
- :param String model: model hosting the image
- :param String field: name of the field holding the image data
- :param id: identifier of the record contaning the image to display
- :param Number cache: caching duration (in seconds) of the browser
- default should be overridden. ``0`` disables
- caching entirely
- :returns: an image URL
-
- .. warning::
- ``kanban_text_ellipsis`` has been removed in Odoo 9. CSS ``text-overflow`` should be used instead.
+If you need to extend the Kanban view, see :js:class::`the JS API `.
.. _reference/views/calendar:
@@ -1029,8 +992,6 @@ calendar view are:
The kanban view uses mostly-standard :ref:`javascript qweb
` and provides the following context variables:
- ``instance``
- the current :ref:`reference/javascript/client` instance
``widget``
the current :js:class:`KanbanRecord`, can be used to fetch some
meta-information. These methods are also available directly in the
diff --git a/doc/requirements.txt b/doc/requirements.txt
index 6c2a5df88c2..4f8b5fa4bbf 100644
--- a/doc/requirements.txt
+++ b/doc/requirements.txt
@@ -1,4 +1,3 @@
sphinx>=1.2
-mercurial==3.2.2
-sphinx-patchqueue==0.4.0
+sphinx-patchqueue>=1.0
PyJSDoc==0.9.1