From f430589b56fbf6e129c8b619c80c0518c8a55f3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 21 Dec 2018 23:48:05 +0100 Subject: [PATCH] Add warning in the documentation about static filter issue7902 review58451002 --- doc/ref/models/fields.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/ref/models/fields.rst b/doc/ref/models/fields.rst index 46fdd031b4..868271e1e6 100644 --- a/doc/ref/models/fields.rst +++ b/doc/ref/models/fields.rst @@ -683,6 +683,11 @@ This field accepts as written value a list of tuples like this: A :ref:`domain ` that is not a constraint but only a filter on the records. +.. warning:: + + Only a static domain is allowed, it cannot contain any + :class:`~trytond.pyson.PYSON` statements. + .. attribute:: One2Many.order A list of tuple defining the default order of the records like for