changeset 9b5f5b3d8371 in trytond:5.2
details: https://hg.tryton.org/trytond?cmd=changeset;node=9b5f5b3d8371
description:
Remove duplicate button attributes and move warning at the end
(grafted from f4393bd5664c3341bd9c4cb82af78a23cd43f641)
diffstat:
doc/topics/views/index.rst | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)
diffs (34 lines):
diff -r 9438b92ee708 -r 9b5f5b3d8371 doc/topics/views/index.rst
--- a/doc/topics/views/index.rst Wed Jul 17 00:55:17 2019 +0200
+++ b/doc/topics/views/index.rst Wed Jul 17 21:15:37 2019 +0200
@@ -345,16 +345,6 @@
The function may return an `ir.action` id or one of those client side
action keywords:
- * ``string``: The string that will be displayed inside the button.
-
- * ``confirm``: A string that will be shown in order to request
- confirmation when clicking the button.
-
- * ``help``: see in common-attributes-help_.
-
-The button should be registered on ``ir.model.button`` where the default value
-of the ``string``, ``confirm`` and ``help`` attributes can be can be defined.
-
.. _topics-views-client-actions:
* ``new``: to create a new record
@@ -384,6 +374,13 @@
toolbar. The valid values are the keywords starting with `form_` from
:ref:`Actions <topics-actions>` without the `form_` part.
+
+.. warning::
+ The button should be registered on ``ir.model.button`` where the default
+ value of the ``string``, ``confirm`` and ``help`` attributes can be can be
+ defined.
+
+
notebook
^^^^^^^^