[FIX] web,doc: fix errors that prevented doc from building

This commit is contained in:
Géry Debongnie
2018-04-04 14:11:48 +02:00
parent 14840d2064
commit d86eb9e1a0
2 changed files with 9 additions and 8 deletions
@@ -616,11 +616,12 @@ var SearchView = Widget.extend({
* @todo: the way it is done could be improved, but the actual state of the
* searchview doesn't allow to do much better.
* @param {Array[Object]} list of filters to add, described by objects with
* keys domain (the domain as an Array), and help (the text to display in
* the facet)
* @param {Array[Object]} list of filters to remove (previously added ones)
* @returns {Array[Object]} list of added filters (to pass as filtersToRemove
* @param {Array<Object>} newFilters list of filters to add, described by
* objects with keys domain (the domain as an Array), and help (the text
* to display in the facet)
* @param {Array<Object>} filtersToRemove list of filters to remove
* (previously added ones)
* @returns {Array<Object>} list of added filters (to pass as filtersToRemove
* for a further call to this function)
*/
updateFilters: function (newFilters, filtersToRemove) {
@@ -643,7 +644,7 @@ var SearchView = Widget.extend({
this.query.trigger('reset');
return addedFilters
return addedFilters;
},
//--------------------------------------------------------------------------
+2 -2
View File
@@ -243,14 +243,14 @@ For this case, data files can also use csv_, this is often the case for
Here's the first lines of the data file defining US states
``res.country.state.csv``
.. literalinclude:: ../../odoo/addons/base/res/res.country.state.csv
.. literalinclude:: ../../odoo/addons/base/data/res.country.state.csv
:language: text
:lines: 1-15
rendered in a more readable format:
.. csv-table::
:file: ../../odoo/addons/base/res/res.country.state.csv
:file: ../../odoo/addons/base/data/res.country.state.csv
:header-rows: 1
:class: table-striped table-hover table-condensed