Remove duplicate button attributes and move warning at the end
This commit is contained in:
@@ -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 <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
|
||||
^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user