From 725130f8fa0e73498eca1cf69fc135e77ca559b0 Mon Sep 17 00:00:00 2001 From: Raphael Collet Date: Tue, 8 Nov 2022 09:16:12 +0000 Subject: [PATCH] [FIX] core: missing documentation about field.recursive closes odoo/odoo#105371 X-original-commit: 0376743c65dc8fc29ac2f1353b02901423f4d18a Signed-off-by: Raphael Collet --- odoo/fields.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/odoo/fields.py b/odoo/fields.py index 141a66ec25e..fcf2cb786e1 100644 --- a/odoo/fields.py +++ b/odoo/fields.py @@ -235,6 +235,10 @@ class Field(MetaField('DummyField', (object,), {})): to bypass access rights (by default ``True`` for stored fields, ``False`` for non stored fields) + :param bool recursive: whether the field has recursive dependencies (the field + ``X`` has a dependency like ``parent_id.X``); declaring a field recursive + must be explicit to guarantee that recomputation is correct + :param str inverse: name of a method that inverses the field (optional) :param str search: name of a method that implement search on the field (optional)