diff options
| author | Richard Mathot <rim@odoo.com> | 2017-06-28 17:38:32 +0200 |
|---|---|---|
| committer | xmo-odoo <xmo@odoo.com> | 2017-06-28 17:38:32 +0200 |
| commit | 4d4ff7c5e7982285f2137e6f1a1ca8d2bc569d27 (patch) | |
| tree | 06d755aa8712ac72e3759bfa50c55c800d68f98f /doc/reference | |
| parent | 32423169af0a4dcd38398e4ad4f630faccba4ff8 (diff) | |
[IMP] doc: mixing attrs and states is iffy
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/views.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst index 4622716ff7e..054cfbf0be8 100644 --- a/doc/reference/views.rst +++ b/doc/reference/views.rst @@ -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`` |
