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 /doc/reference | |
| parent | 1069890ea0bcbb2d5aa34f3ace777d89da2054f9 (diff) | |
[IMP] *: fix typos in comments
closes odoo/odoo#35404
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/guidelines.rst | 2 | ||||
| -rw-r--r-- | doc/reference/mixins.rst | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/reference/guidelines.rst b/doc/reference/guidelines.rst index f4c5148aaa6..28e7d57acba 100644 --- a/doc/reference/guidelines.rst +++ b/doc/reference/guidelines.rst @@ -277,7 +277,7 @@ Odoo supports custom tags acting as syntactic sugar: - report: use to declare a :ref:`report action <reference/actions/report>` - act_window: use it if the record notation can't do what you want -The 4 first tags are prefered over the *record* notation. +The 4 first tags are preferred over the *record* notation. XML IDs and naming diff --git a/doc/reference/mixins.rst b/doc/reference/mixins.rst index 2f7197a98f2..2f8e79bf649 100644 --- a/doc/reference/mixins.rst +++ b/doc/reference/mixins.rst @@ -996,13 +996,13 @@ The behaviour of the mixin adapts to your model: * The ``rating.rating`` record will be linked to the ``partner_id`` field of your model (if the field is present). - - this behaviour can be overriden with the function ``rating_get_partner_id()`` + - this behaviour can be overridden with the function ``rating_get_partner_id()`` if you use another field than ``partner_id`` * The ``rating.rating`` record will be linked to the partner of the ``user_id`` field of your model (if the field is present) (i.e. the partner who is rated) - - this behaviour can be overriden with the function ``rating_get_rated_partner_id()`` + - this behaviour can be overridden with the function ``rating_get_rated_partner_id()`` if you use another field than ``user_id`` (note that the function must return a ``res.partner``, for ``user_id`` the system automatically fetches the partner of the user) |
