diff options
| author | Olivier Sarrat <olivier.sarrat@laposte.net> | 2018-02-16 12:46:34 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-02-27 17:54:56 +0100 |
| commit | f620e78301210771705635d83de3b7e97e080302 (patch) | |
| tree | e09f08e76e1eaf551ab4611ee2c45712acecbc57 /doc/reference | |
| parent | 77db32edf25d4fb84a23296e3083285bdf6b1bcb (diff) | |
[FIX] doc: remove readonly as button possible attrs
According to #13264, setting a button as readonly is not working
Remove from the documentation
Closes #23114
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/views.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst index c1dd6f1750b..c6eba17c7fc 100644 --- a/doc/reference/views.rst +++ b/doc/reference/views.rst @@ -225,8 +225,7 @@ Possible children elements of the list view are: context of the current row's record, if ``True`` the corresponding attribute is set on the cell. - Possible attributes are ``invisible`` (hides the button) and - ``readonly`` (disables the button but still shows it) + Possible attribute is ``invisible`` (hides the button). ``states`` shorthand for ``invisible`` ``attrs``: a list of states, comma separated, requires that the model has a ``state`` field and that it is |
