changeset 5a81202f8af7 in trytond:5.6
details: https://hg.tryton.org/trytond?cmd=changeset;node=5a81202f8af7
description:
        Document One2One.get_relation method

        issue9826
        review331201002
        (grafted from 9cce305c0eff2841ffdfbe78f16e2b1c0913b0aa)
diffstat:

 doc/ref/models/fields.rst |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r 4ecc798e0876 -r 5a81202f8af7 doc/ref/models/fields.rst
--- a/doc/ref/models/fields.rst Fri Dec 11 15:44:43 2020 +0100
+++ b/doc/ref/models/fields.rst Sun Nov 29 11:30:45 2020 +0000
@@ -866,9 +866,9 @@
 
 Instance methods:
 
-.. method:: Many2Many.get_target()
+.. method:: One2One.get_relation()
 
-    Return the target :class:`~trytond.model.Model`.
+    Return the relation :class:`~trytond.model.Model`.
 
 .. method:: One2One.get_target()
 

Reply via email to