mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
11 lines
246 B
ReStructuredText
11 lines
246 B
ReStructuredText
In a form view, create a button that has the `no_save` attribute, for instance:
|
|
|
|
.. code-block:: xml
|
|
|
|
<button
|
|
type="object"
|
|
name="method_name"
|
|
string="Call method_name without saving"
|
|
no_save="True"
|
|
/>
|