summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/abstract_field.js
diff options
context:
space:
mode:
authormreficent <miquel.raich@eficent.com>2019-08-02 11:26:58 +0000
committerMartin Trigaux <mat@odoo.com>2019-08-07 10:28:33 +0000
commit355a5dfc365c419f3be2e1ccffe0cb38e1140d27 (patch)
tree122f40cf08f705573213a78738f886141a84ff6c /addons/web/static/src/js/fields/abstract_field.js
parent1069890ea0bcbb2d5aa34f3ace777d89da2054f9 (diff)
[IMP] *: fix typos in comments
closes odoo/odoo#35404 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/abstract_field.js')
-rw-r--r--addons/web/static/src/js/fields/abstract_field.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/fields/abstract_field.js b/addons/web/static/src/js/fields/abstract_field.js
index dc456d21ae0..1430c49ab18 100644
--- a/addons/web/static/src/js/fields/abstract_field.js
+++ b/addons/web/static/src/js/fields/abstract_field.js
@@ -175,7 +175,7 @@ var AbstractField = Widget.extend({
// to send it to the server. These functions are chosen according to
// the 'widget' attrs if is is given, and if it is a valid key, with a
// fallback on the field type, ensuring that the value is formatted and
- // displayed according to the choosen widget, if any.
+ // displayed according to the chosen widget, if any.
this.formatType = this.attrs.widget in field_utils.format ?
this.attrs.widget :
this.field.type;