changeset 9cce305c0eff in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=9cce305c0eff
description:
        Document One2One.get_relation method

        issue9826
        review331201002
diffstat:

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

diffs (15 lines):

diff -r 2893c35d79df -r 9cce305c0eff doc/ref/models/fields.rst
--- a/doc/ref/models/fields.rst Sun Nov 29 11:23:26 2020 +0000
+++ 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