summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVictor Feyens <vfe@odoo.com>2020-05-07 12:56:35 +0000
committerVictor Feyens <vfe@odoo.com>2020-05-07 14:51:14 +0000
commit1639343411b2cb2af172083add16a3ad087d0e6f (patch)
tree0a5a84b1daccd39b08f06c7b273052164b35edfa /doc
parent541205fbcb4c0d8e04e45c56cbdfaaeb9e373174 (diff)
[FIX] doc: confirm attribute isn't supported in list buttons
Closes #37036 Forward-port of #50831 closes odoo/odoo#50872 X-original-commit: 27f67bfcb9033ceffc1f781bc3785113c82d4c9c Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/views.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index a0253e321e9..488234a9cfd 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -775,6 +775,9 @@ system. Available semantic components are:
``special``
for form views opened in dialogs: ``save`` to save the record and close the
dialog, ``cancel`` to close the dialog without saving.
+ ``confirm``
+ confirmation message to display (and for the user to accept) before
+ performing the button's Odoo call (also works in Kanban views).
``field``
renders (and allow editing of, possibly) a single field of the current
@@ -1421,9 +1424,6 @@ Possible children elements of the list view are:
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``
- confirmation message to display (and for the user to accept) before
- performing the button's Odoo call
.. todo:: declared but unused: help