File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ Relational field types are:
467467:class: `Many2one(other_model, ondelete='set null') <odoo.fields.Many2one> `
468468 A simple link to an other object::
469469
470- print foo.other_id.name
470+ print( foo.other_id.name)
471471
472472 .. seealso :: `foreign keys <http://www.postgresql.org/docs/9.3/static/tutorial-fk.html>`_
473473
@@ -477,7 +477,7 @@ Relational field types are:
477477 accessing it results in a (possibly empty) set of records::
478478
479479 for other in foo.other_ids:
480- print other.name
480+ print( other.name)
481481
482482 .. danger ::
483483
@@ -491,7 +491,7 @@ Relational field types are:
491491 records, accessing it also results in a possibly empty set of records::
492492
493493 for other in foo.other_ids:
494- print other.name
494+ print( other.name)
495495
496496.. exercise :: Many2one relations
497497
You can’t perform that action at this time.
0 commit comments