diff --git a/doc/topics/views/index.rst b/doc/topics/views/index.rst index eab95bb599..759f40102f 100644 --- a/doc/topics/views/index.rst +++ b/doc/topics/views/index.rst @@ -345,16 +345,6 @@ Display a button. 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 @@ of the ``string``, ``confirm`` and ``help`` attributes can be can be defined. toolbar. The valid values are the keywords starting with `form_` from :ref:`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 ^^^^^^^^