summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorYannick Vaucher <yannick.vaucher@camptocamp.com>2018-10-25 16:51:36 +0000
committerMartin Trigaux <mat@odoo.com>2018-10-26 07:56:50 +0000
commite968d1de7e65428e06704c52757678f069da7fcc (patch)
tree7ef79e272d3b91186a53415ced9e44e3055c1e76 /addons/web/static/src/js/views/basic
parent7718811809f1ccdcab93415c1351144061d0c9b6 (diff)
[FIX] web: typo in docstring
The parameter would not be correctly detected by doc extractors closes odoo/odoo#28169
Diffstat (limited to 'addons/web/static/src/js/views/basic')
-rw-r--r--addons/web/static/src/js/views/basic/basic_model.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/basic/basic_model.js b/addons/web/static/src/js/views/basic/basic_model.js
index 116bd73fbdb..5ad8e92c907 100644
--- a/addons/web/static/src/js/views/basic/basic_model.js
+++ b/addons/web/static/src/js/views/basic/basic_model.js
@@ -2007,7 +2007,7 @@ var BasicModel = AbstractModel.extend({
* @param {Object} [options]
* @param {string[]} [options.fieldNames] the list of fields to fetch. If
* not given, fetch all the fields in record.fieldNames (+ display_name)
- * @param {string} [optinos.viewType] the type of view for which the record
+ * @param {string} [options.viewType] the type of view for which the record
* is fetched (usefull to load the adequate fields), by defaults, uses
* record.viewType
* @returns {Deferred<Object>} resolves to the record or is rejected in