Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
13
web_widget_open_tab/readme/USAGE.md
Executable file
13
web_widget_open_tab/readme/USAGE.md
Executable file
@@ -0,0 +1,13 @@
|
||||
Edit the tree view and add the widget as the first field, usually, we
|
||||
should use: .. code-block:: xml
|
||||
|
||||
> \<field name="id" widget="open_tab"/\>
|
||||
|
||||
You can open the record in a new tab when clicking with the mouse wheel
|
||||
on the external link icon. On a usual click the record will be opened
|
||||
without changes (keeping the breadcrumbs).
|
||||
|
||||
You can also add open-tab field in tree views by selecting "Add Open Tab
|
||||
Field" field in the ir.model record. When you do this, the open-tab
|
||||
field is added right after the name field in the tree if the field
|
||||
exists, otherwise at the beginning of the tree.
|
||||
Reference in New Issue
Block a user