Allow to open record from trees on new tab from tree views
Project description
This addon introduces a new widget. When added to a field in a tree view, the field appears as a button which opens the record in a new tab. When clicking on the line (but not on the button), the record is opened in the same window (as in native Odoo).
Table of contents
Usage
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.
Known issues / Roadmap
Add many2one fields support.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Enric Tobella <etobella@creublanca.es>
Raf Ven <raf.ven@dynapps.be>
Dhara Solanki <dhara.solanki@initos.com>
-
Aung Ko Ko Lin
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/web project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo_addon_web_widget_open_tab-17.0.1.0.0.4-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_web_widget_open_tab-17.0.1.0.0.4-py3-none-any.whl
- Upload date:
- Size: 31.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d85d3442e93d487ced8d5ad91f4babd81c138b52bda2d44798425c8bddf2c0d |
|
MD5 | bd7d9a44e28c7e9d369039d51900d646 |
|
BLAKE2b-256 | c7ba4c46fc285f6dd64bcefab09882439dd909328c5c18ab2dcfc204fe071298 |