mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[ADD] web_button_no_save
This commit is contained in:
10
web_button_no_save/readme/CONFIGURE.rst
Normal file
10
web_button_no_save/readme/CONFIGURE.rst
Normal 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"
|
||||
/>
|
||||
3
web_button_no_save/readme/CONTRIBUTORS.rst
Normal file
3
web_button_no_save/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1,3 @@
|
||||
* `TAKOBI <https://takobi.online>`_:
|
||||
|
||||
* Simone Rubino <sir@takobi.online>
|
||||
3
web_button_no_save/readme/DESCRIPTION.rst
Normal file
3
web_button_no_save/readme/DESCRIPTION.rst
Normal 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.
|
||||
1
web_button_no_save/readme/ROADMAP.rst
Normal file
1
web_button_no_save/readme/ROADMAP.rst
Normal file
@@ -0,0 +1 @@
|
||||
- `confirm` attribute in the `no_save` buttons is ignored.
|
||||
Reference in New Issue
Block a user