OdooWiki OCA HUB

Widget Open on new Tab

web_widget_open_tab folder_open OCA/web open_in_new
Uncategorised License: AGPL-3

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).

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds an optional button in list views that opens a record in a new browser tab, while clicking the row still opens it in the same window. It is enabled per model from the model settings.

This module gives you a new way to open records from any list view. When enabled for a model, an extra small button with an external-link icon appears next to the record name in the list. Clicking that button opens the record in a new browser tab, so you can keep the list open and compare or work on several records at once. Clicking elsewhere on the row still opens the record in the same window, exactly as before.

  • The button is added automatically to list views of models where the option is turned on.
  • The option is a checkbox called "Adds open-tab field in list views" on the model's form (in the technical model settings).
  • The button is placed right after the name field when the list has one, otherwise at the beginning of the row.
  • It only works on list views; form views are not changed.
  • The button uses the record's identifier to build the link, so it always points to the correct record.

It touches the technical model configuration screen (ir.model) and the way list views are built for all models. No new menus, reports, emails or scheduled actions are added.

Depends on

web

Required by other modules

Models and fields (2)
  • base · extends an existing model
  • ir.model · extends an existing modeladd_open_tab_field

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 18.0

Edit the tree view and add the widget as the first field, usually, we should use: .. code-block:: xml

> \

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.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.