[ADD] web_button_no_save

This commit is contained in:
Simone Rubino
2022-07-15 14:22:24 +02:00
parent b917c99d46
commit 728ce9a1bb
12 changed files with 615 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
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"
/>

View File

@@ -0,0 +1,3 @@
* `TAKOBI <https://takobi.online>`_:
* Simone Rubino <sir@takobi.online>

View File

@@ -0,0 +1,3 @@
This module allows to define buttons that do not require saving the form.
This can be used to show a popup (`wizard`) that helps the user to fill in the current record using much more information (links, pictures, videos, ...) than what can be handled from the help of each field.

View File

@@ -0,0 +1 @@
- `confirm` attribute in the `no_save` buttons is ignored.