mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[11.0][ADD] web_widget_open_tab
This commit is contained in:
1
web_widget_open_tab/readme/CONTRIBUTORS.rst
Normal file
1
web_widget_open_tab/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1 @@
|
||||
* Enric Tobella <etobella@creublanca.es>
|
||||
1
web_widget_open_tab/readme/DESCRIPTION.rst
Normal file
1
web_widget_open_tab/readme/DESCRIPTION.rst
Normal file
@@ -0,0 +1 @@
|
||||
This addon creates a new widget that can be used to open on a new tab a record from a tree.
|
||||
7
web_widget_open_tab/readme/USAGE.rst
Normal file
7
web_widget_open_tab/readme/USAGE.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
Edit the tree view and add the widget as the first field, usually, we should use:
|
||||
.. code-block:: xml
|
||||
|
||||
<field name="id" widget="open"/>
|
||||
|
||||
Now, we can open when clicking with the mouse wheel over the eye.
|
||||
On a usual click the record will be opened without changes (keeping the breadcrumbs).
|
||||
Reference in New Issue
Block a user