diff options
| author | mreficent <miquel.raich@eficent.com> | 2019-08-02 11:26:58 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-08-07 10:28:33 +0000 |
| commit | 355a5dfc365c419f3be2e1ccffe0cb38e1140d27 (patch) | |
| tree | 122f40cf08f705573213a78738f886141a84ff6c /addons/web/static/src/js/fields | |
| parent | 1069890ea0bcbb2d5aa34f3ace777d89da2054f9 (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')
| -rw-r--r-- | addons/web/static/src/js/fields/abstract_field.js | 2 | ||||
| -rw-r--r-- | addons/web/static/src/js/fields/relational_fields.js | 4 | ||||
| -rw-r--r-- | addons/web/static/src/js/fields/upgrade_fields.js | 4 |
3 files changed, 5 insertions, 5 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; diff --git a/addons/web/static/src/js/fields/relational_fields.js b/addons/web/static/src/js/fields/relational_fields.js index 0f13228526e..fed94598046 100644 --- a/addons/web/static/src/js/fields/relational_fields.js +++ b/addons/web/static/src/js/fields/relational_fields.js @@ -471,9 +471,9 @@ var FieldMany2One = AbstractField.extend({ // this is a stupid hack necessary to support the always_reload flag. // the field value has been reread by the basic model. We use it to - // display the full address of a patner, separated by \n. This is + // display the full address of a partner, separated by \n. This is // really a bad way to do it. Now, we need to remove the extra lines - // and hope for the best that noone tries to uses this mechanism to do + // and hope for the best that no one tries to uses this mechanism to do // something else. if (this.nodeOptions.always_reload) { value = this._getDisplayName(value); diff --git a/addons/web/static/src/js/fields/upgrade_fields.js b/addons/web/static/src/js/fields/upgrade_fields.js index 8dd1f9d3ae8..36af39567ac 100644 --- a/addons/web/static/src/js/fields/upgrade_fields.js +++ b/addons/web/static/src/js/fields/upgrade_fields.js @@ -47,7 +47,7 @@ var AbstractFieldUpgrade = { }); }, /** - * This function is meant to be overriden to insert the 'Enterprise' label + * This function is meant to be overridden to insert the 'Enterprise' label * JQuery node at the right place. * * @abstract @@ -98,7 +98,7 @@ var AbstractFieldUpgrade = { })); }, /** - * This function is meant to be overriden to reset the $el to its initial + * This function is meant to be overridden to reset the $el to its initial * state. * * @abstract |
