diff options
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) |
