[IMP] doc: mixing attrs and states is iffy

This commit is contained in:
Richard Mathot
2017-06-28 17:38:32 +02:00
committed by xmo-odoo
parent 32423169af
commit 4d4ff7c5e7
+5
View File
@@ -234,6 +234,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``