changeset 9dd6813b7e54 in trytond:4.8
details: https://hg.tryton.org/trytond?cmd=changeset;node=9dd6813b7e54
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 3c486ec4ab5d -r 9dd6813b7e54 doc/topics/views/index.rst
--- a/doc/topics/views/index.rst        Sat Jul 13 00:08:30 2019 +0200
+++ b/doc/topics/views/index.rst        Wed Jul 17 21:15:37 2019 +0200
@@ -341,16 +341,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
@@ -380,6 +370,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
 ^^^^^^^^
 

Reply via email to