[FIX] tutorials/getting_started: fix typos in example model name
Commitf36c612d13changed the model name in Chapter 4 without updating the other occurences. closes odoo/documentation#5516 X-original-commit:b6f923d111Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
@@ -217,7 +217,7 @@ A one2many is the inverse of a many2one. For example, we defined
|
||||
on our test model a link to the ``res.partner`` model thanks to the field ``partner_id``.
|
||||
We can define the inverse relation, i.e. the list of test models linked to our partner::
|
||||
|
||||
test_ids = fields.One2many("test.model", "partner_id", string="Tests")
|
||||
test_ids = fields.One2many("test_model", "partner_id", string="Tests")
|
||||
|
||||
The first parameter is called the ``comodel`` and the second parameter is the field we want to
|
||||
inverse.
|
||||
|
||||
Reference in New Issue
Block a user