summaryrefslogtreecommitdiff
path: root/doc/reference/views.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/views.rst')
-rw-r--r--doc/reference/views.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index be37aaaa821..386989b75c6 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -237,6 +237,11 @@ Possible children elements of the list view are:
Makes the button ``invisible`` if the record is *not* in one of the
listed states
+
+ .. danger::
+
+ Using ``states`` in combination with ``attrs`` may lead to
+ unexpected results as domains are combined with a logical AND.
``context``
merged into the view's context when performing the button's Odoo call
``confirm``