Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
19ccd08
[11.0][ADD] web_widget_open_tab
etobella Dec 30, 2019
a4aef79
[IMP] web_widget_open_tab: keep breadcrumb
AdriaGForgeFlow Jan 8, 2020
ae41e9d
[11.0][FIX] open_tab: Open new tab with the wheel
etobella Jan 10, 2020
30bf6b5
[MIG][12.0] web_widget_open_tab
etobella Feb 19, 2020
2e02127
[12.0] web_widget_open_tab: Allow to open tab on dashboards or trees …
etobella Feb 21, 2020
20d8c8d
Added translation using Weblate (Spanish)
claudiagn Sep 16, 2020
46ad60d
Added translation using Weblate (Catalan)
claudiagn Feb 17, 2021
a18495c
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Mar 15, 2021
505abe2
[IMP] web_widget_open_tab: black, isort
rven Sep 29, 2020
0d10049
[MIG] web_widget_open_tab: Migration to 13.0
rven Dec 7, 2020
ab2a430
[IMP] web_widget_open_tab: black, isort
rven May 12, 2021
1c5eb98
[MIG] web_widget_open_tab: Migration to 14.0
rven May 12, 2021
9625459
Added translation using Weblate (German)
Corneliuus Oct 13, 2021
6e28488
[MIG] web_widget_open_tab: Migration to 15.0
rven Mar 1, 2022
2f372c9
[IMP] web_widget_open_tab: pre-commit stuff
dsolanki-initos Mar 14, 2023
a560a52
[MIG] web_widget_open_tab: Migration to 16.0
dsolanki-initos Mar 15, 2023
7b0183f
[IMP] web_widget_open_tab: Add ROADMAP
pedrobaeza Jul 25, 2023
e423cda
[IMP] web_widget_open_tab
AungKoKoLin1997 Jul 26, 2023
07a787c
Translated using Weblate (Spanish)
Ivorra78 Sep 15, 2023
5a4dcd0
[IMP] web_widget_open_tab: pre-commit stuff
moitabenfdz Nov 16, 2023
4721b1d
[MIG] web_widget_open_tab: Migration to 17.0
moitabenfdz Nov 16, 2023
a2b5663
Added translation using Weblate (Italian)
mymage May 20, 2024
cee1699
[IMP] web_widget_open_tab: pre-commit auto fixes
CRogos May 15, 2025
c324ae3
[MIG] web_widget_open_tab: Migration to 18.0
CRogos May 15, 2025
c16be1b
Added translation using Weblate (Slovenian)
sysadminmatmoz Jun 6, 2026
c036237
Added translation using Weblate (French)
ypapouin Jun 15, 2026
21225a3
[MIG] web_widget_open_tab: Migration to 19.0
CRogos Oct 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 106 additions & 0 deletions web_widget_open_tab/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

======================
Widget Open on new Tab
======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:51ae5399197266dc3d267d3116d6715e4b641b42a9486400e7c252072dff0cfa
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/19.0/web_widget_open_tab
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-19-0/web-19-0-web_widget_open_tab
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This addon introduces a new widget. When added to a field in a list or
kanban 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**

.. contents::
:local:

Usage
=====

Edit the list or kanban view and add the widget on the ``id`` field,
usually as the first field of the list:

.. code:: xml

<field name="id" widget="open_tab"/>

Clicking on the external link icon (left-click or middle-click) opens
the record directly in a new tab.

Known issues / Roadmap
======================

- Add many2one fields support.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/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 <https://github.com/OCA/web/issues/new?body=module:%20web_widget_open_tab%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Creu Blanca

Contributors
------------

- Enric Tobella <etobella@creublanca.es>
- Raf Ven <raf.ven@dynapps.be>
- Dhara Solanki <dhara.solanki@initos.com>
- `Quartile <https://www.quartile.co>`__:

- Aung Ko Ko Lin

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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 <https://github.com/OCA/web/tree/19.0/web_widget_open_tab>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file added web_widget_open_tab/__init__.py
Empty file.
19 changes: 19 additions & 0 deletions web_widget_open_tab/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2019-2020 Creu Blanca
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Widget Open on new Tab",
"summary": "Allow to open records from list and kanban views in a new tab",
"version": "19.0.1.0.0",
"license": "AGPL-3",
"author": "Creu Blanca,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/web",
"depends": ["web"],
"demo": ["demo/res_users_view.xml"],
"assets": {
"web.assets_backend": [
"web_widget_open_tab/static/src/xml/open_tab_widget.xml",
"web_widget_open_tab/static/src/js/open_tab_widget.esm.js",
],
},
}
12 changes: 12 additions & 0 deletions web_widget_open_tab/demo/res_users_view.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="res_partner_kanban_view" model="ir.ui.view">
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.res_partner_kanban_view" />
<field name="arch" type="xml">
<xpath expr="//footer" position="inside">
<field name="id" widget="open_tab" />
Comment thread
CRogos marked this conversation as resolved.
</xpath>
</field>
</record>
</odoo>
59 changes: 59 additions & 0 deletions web_widget_open_tab/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_widget_open_tab
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-02-17 13:45+0000\n"
"Last-Translator: claudiagn <claudia.gargallo@qubiq.es>\n"
"Language-Team: none\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: web_widget_open_tab
#: model:ir.model.fields,field_description:web_widget_open_tab.field_ir_model__add_open_tab_field
msgid "Add Open Tab Field"
msgstr ""

#. module: web_widget_open_tab
#: model:ir.model.fields,help:web_widget_open_tab.field_ir_model__add_open_tab_field
msgid "Adds open-tab field in list views."
msgstr ""

#. module: web_widget_open_tab
#: model:ir.model,name:web_widget_open_tab.model_base
msgid "Base"
msgstr ""

#. module: web_widget_open_tab
#. odoo-javascript
#: code:addons/web_widget_open_tab/static/src/js/open_tab_widget.esm.js:0
#, python-format
msgid "Click to open on new tab"
msgstr ""

#. module: web_widget_open_tab
#: model:ir.model,name:web_widget_open_tab.model_ir_model
msgid "Models"
msgstr ""

#. module: web_widget_open_tab
#. odoo-javascript
#: code:addons/web_widget_open_tab/static/src/js/open_tab_widget.esm.js:0
#, python-format
msgid "Open Tab"
msgstr ""

#, python-format
#~ msgid "Click in order to open on new tab"
#~ msgstr "Feu clic per obrir la pestanya nova"

#, python-format
#~ msgid "Widget"
#~ msgstr "Widget"
59 changes: 59 additions & 0 deletions web_widget_open_tab/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_widget_open_tab
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-10-13 20:46+0000\n"
"Last-Translator: Corneliuus <cornelius@clk-it.de>\n"
"Language-Team: none\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: web_widget_open_tab
#: model:ir.model.fields,field_description:web_widget_open_tab.field_ir_model__add_open_tab_field
msgid "Add Open Tab Field"
msgstr ""

#. module: web_widget_open_tab
#: model:ir.model.fields,help:web_widget_open_tab.field_ir_model__add_open_tab_field
msgid "Adds open-tab field in list views."
msgstr ""

#. module: web_widget_open_tab
#: model:ir.model,name:web_widget_open_tab.model_base
msgid "Base"
msgstr ""

#. module: web_widget_open_tab
#. odoo-javascript
#: code:addons/web_widget_open_tab/static/src/js/open_tab_widget.esm.js:0
#, python-format
msgid "Click to open on new tab"
msgstr ""

#. module: web_widget_open_tab
#: model:ir.model,name:web_widget_open_tab.model_ir_model
msgid "Models"
msgstr ""

#. module: web_widget_open_tab
#. odoo-javascript
#: code:addons/web_widget_open_tab/static/src/js/open_tab_widget.esm.js:0
#, python-format
msgid "Open Tab"
msgstr ""

#, python-format
#~ msgid "Click in order to open on new tab"
#~ msgstr "Anklicken, um in einem neuen Tab zu öffnen"

#, python-format
#~ msgid "Widget"
#~ msgstr "Widget"
59 changes: 59 additions & 0 deletions web_widget_open_tab/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_widget_open_tab
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-09-20 17:50+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: web_widget_open_tab
#: model:ir.model.fields,field_description:web_widget_open_tab.field_ir_model__add_open_tab_field
msgid "Add Open Tab Field"
msgstr "Añadir campo de pestaña abierta"

#. module: web_widget_open_tab
#: model:ir.model.fields,help:web_widget_open_tab.field_ir_model__add_open_tab_field
msgid "Adds open-tab field in list views."
msgstr "Añade un campo de pestaña abierta en las vistas de lista."

#. module: web_widget_open_tab
#: model:ir.model,name:web_widget_open_tab.model_base
msgid "Base"
msgstr "Base"

#. module: web_widget_open_tab
#. odoo-javascript
#: code:addons/web_widget_open_tab/static/src/js/open_tab_widget.esm.js:0
#, python-format
msgid "Click to open on new tab"
msgstr "Haga clic para abrir en una nueva pestaña"

#. module: web_widget_open_tab
#: model:ir.model,name:web_widget_open_tab.model_ir_model
msgid "Models"
msgstr "Modelos"

#. module: web_widget_open_tab
#. odoo-javascript
#: code:addons/web_widget_open_tab/static/src/js/open_tab_widget.esm.js:0
#, python-format
msgid "Open Tab"
msgstr "Abrir pestaña"

#, python-format
#~ msgid "Click in order to open on new tab"
#~ msgstr "Clica para poder abrir una nueva pestaña"

#, python-format
#~ msgid "Widget"
#~ msgstr "Widget"
49 changes: 49 additions & 0 deletions web_widget_open_tab/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_widget_open_tab
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2026-06-15 10:39+0000\n"
"Last-Translator: Yann Papouin <ypa@decgroupe.com>\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 5.15.2\n"

#. module: web_widget_open_tab
#: model:ir.model.fields,field_description:web_widget_open_tab.field_ir_model__add_open_tab_field
msgid "Add Open Tab Field"
msgstr "Ajoute un champ ouvrir dans onglet"

#. module: web_widget_open_tab
#: model:ir.model.fields,help:web_widget_open_tab.field_ir_model__add_open_tab_field
msgid "Adds open-tab field in list views."
msgstr "Ajoute un champ « Ouvrir un onglet » dans les vues liste."

#. module: web_widget_open_tab
#: model:ir.model,name:web_widget_open_tab.model_base
msgid "Base"
msgstr "Base"

#. module: web_widget_open_tab
#. odoo-javascript
#: code:addons/web_widget_open_tab/static/src/js/open_tab_widget.esm.js:0
msgid "Click to open on new tab"
msgstr "Cliquer pour ouvrir dans un nouvel onglet"

#. module: web_widget_open_tab
#: model:ir.model,name:web_widget_open_tab.model_ir_model
msgid "Models"
msgstr "Modèles"

#. module: web_widget_open_tab
#. odoo-javascript
#: code:addons/web_widget_open_tab/static/src/js/open_tab_widget.esm.js:0
msgid "Open Tab"
msgstr "Ouvrir un onglet"
Loading
Loading