Repository navigation
[19.0][MIG] web_widget_open_tab #3737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
CRogos
wants to merge
27
commits into
OCA:19.0
Choose a base branch
from
c4a8-odoo:19.0-mig-web_widget_open_tab
base: 19.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,129
−0
Open
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 a4aef79
[IMP] web_widget_open_tab: keep breadcrumb
AdriaGForgeFlow ae41e9d
[11.0][FIX] open_tab: Open new tab with the wheel
etobella 30bf6b5
[MIG][12.0] web_widget_open_tab
etobella 2e02127
[12.0] web_widget_open_tab: Allow to open tab on dashboards or trees …
etobella 20d8c8d
Added translation using Weblate (Spanish)
claudiagn 46ad60d
Added translation using Weblate (Catalan)
claudiagn a18495c
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago 505abe2
[IMP] web_widget_open_tab: black, isort
rven 0d10049
[MIG] web_widget_open_tab: Migration to 13.0
rven ab2a430
[IMP] web_widget_open_tab: black, isort
rven 1c5eb98
[MIG] web_widget_open_tab: Migration to 14.0
rven 9625459
Added translation using Weblate (German)
Corneliuus 6e28488
[MIG] web_widget_open_tab: Migration to 15.0
rven 2f372c9
[IMP] web_widget_open_tab: pre-commit stuff
dsolanki-initos a560a52
[MIG] web_widget_open_tab: Migration to 16.0
dsolanki-initos 7b0183f
[IMP] web_widget_open_tab: Add ROADMAP
pedrobaeza e423cda
[IMP] web_widget_open_tab
AungKoKoLin1997 07a787c
Translated using Weblate (Spanish)
Ivorra78 5a4dcd0
[IMP] web_widget_open_tab: pre-commit stuff
moitabenfdz 4721b1d
[MIG] web_widget_open_tab: Migration to 17.0
moitabenfdz a2b5663
Added translation using Weblate (Italian)
mymage cee1699
[IMP] web_widget_open_tab: pre-commit auto fixes
CRogos c324ae3
[MIG] web_widget_open_tab: Migration to 18.0
CRogos c16be1b
Added translation using Weblate (Slovenian)
sysadminmatmoz c036237
Added translation using Weblate (French)
ypapouin 21225a3
[MIG] web_widget_open_tab: Migration to 19.0
CRogos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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", | ||
| ], | ||
| }, | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" /> | ||
| </xpath> | ||
| </field> | ||
| </record> | ||
| </odoo> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.