From 897feb553e6ef75af9434cb77436b26abde3a761 Mon Sep 17 00:00:00 2001 From: Florent de Labarre Date: Wed, 10 Apr 2019 18:50:33 +0000 Subject: [PATCH] [IMP] doc: add information about index attribute closes odoo/odoo#32606 Signed-off-by: Martin Trigaux (mat) --- odoo/fields.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/odoo/fields.py b/odoo/fields.py index 5b18a258d92..e4b153f3982 100644 --- a/odoo/fields.py +++ b/odoo/fields.py @@ -116,8 +116,8 @@ class Field(MetaField('DummyField', (object,), {})): :param required: whether the value of the field is required (boolean, by default ``False``) - :param index: whether the field is indexed in database (boolean, by - default ``False``) + :param index: whether the field is indexed in database. Note: no effect + on non-stored and virtual fields. (boolean, by default ``False``) :param default: the default value for the field; this is either a static value, or a function taking a recordset and returning a value; use