Skip to main content

Allow to open record from trees on new tab from tree views

Project description

Odoo Community Association

Widget Open on new Tab

Beta License: AGPL-3 OCA/web Translate me on Weblate Try me on Runboat

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.

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

Authors

  • Creu Blanca

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_web_widget_open_tab-15.0.1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_web_widget_open_tab-15.0.1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 955b89326717ecadc7ed2aeecf6db595ee08d3e4cf8c7cfdb6f1f0f0bca323e6
MD5 5c85ed1454ab02987b4279a7a716d706
BLAKE2b-256 67bb30bcb3d425a62f70f9a3e76a514c2a55774a989706d35abcc3e27f6d212c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page