diff --git a/setup/web_widget_open_tab/odoo/addons/web_widget_open_tab b/setup/web_widget_open_tab/odoo/addons/web_widget_open_tab new file mode 120000 index 000000000..8d41af8dc --- /dev/null +++ b/setup/web_widget_open_tab/odoo/addons/web_widget_open_tab @@ -0,0 +1 @@ +../../../../web_widget_open_tab \ No newline at end of file diff --git a/setup/web_widget_open_tab/setup.py b/setup/web_widget_open_tab/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/web_widget_open_tab/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/web_widget_open_tab/README.rst b/web_widget_open_tab/README.rst index e5b2cb511..553f23bf9 100644 --- a/web_widget_open_tab/README.rst +++ b/web_widget_open_tab/README.rst @@ -14,18 +14,20 @@ Widget Open on new Tab :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/12.0/web_widget_open_tab + :target: https://github.com/OCA/web/tree/13.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-12-0/web-12-0-web_widget_open_tab + :target: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_widget_open_tab :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/162/12.0 + :target: https://runbot.odoo-community.org/runbot/162/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| -This addon creates a new widget that can be used to open on a new tab a record from a tree. +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** @@ -40,7 +42,7 @@ Edit the tree view and add the widget as the first field, usually, we should use -Now, we can open when clicking with the mouse wheel over the eye. +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). Bug Tracker @@ -49,7 +51,7 @@ 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 smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -65,6 +67,7 @@ Contributors ~~~~~~~~~~~~ * Enric Tobella +* Raf Ven Maintainers ~~~~~~~~~~~ @@ -79,6 +82,6 @@ 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. +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. diff --git a/web_widget_open_tab/__manifest__.py b/web_widget_open_tab/__manifest__.py index 9ccaedf8d..7bbeaa0da 100644 --- a/web_widget_open_tab/__manifest__.py +++ b/web_widget_open_tab/__manifest__.py @@ -5,7 +5,7 @@ "name": "Widget Open on new Tab", "summary": """ Allow to open record from trees on new tab from tree views""", - "version": "12.0.1.0.1", + "version": "13.0.1.0.0", "license": "AGPL-3", "author": "Creu Blanca,Odoo Community Association (OCA)", "website": "https://github.com/OCA/web", diff --git a/web_widget_open_tab/readme/CONTRIBUTORS.rst b/web_widget_open_tab/readme/CONTRIBUTORS.rst index 93ec993e0..271468bb5 100644 --- a/web_widget_open_tab/readme/CONTRIBUTORS.rst +++ b/web_widget_open_tab/readme/CONTRIBUTORS.rst @@ -1 +1,2 @@ * Enric Tobella +* Raf Ven diff --git a/web_widget_open_tab/readme/DESCRIPTION.rst b/web_widget_open_tab/readme/DESCRIPTION.rst index 1bfe54f9d..c202ca5be 100644 --- a/web_widget_open_tab/readme/DESCRIPTION.rst +++ b/web_widget_open_tab/readme/DESCRIPTION.rst @@ -1 +1,3 @@ -This addon creates a new widget that can be used to open on a new tab a record from a tree. +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). diff --git a/web_widget_open_tab/readme/USAGE.rst b/web_widget_open_tab/readme/USAGE.rst index bd13b6079..a47bb4fd0 100644 --- a/web_widget_open_tab/readme/USAGE.rst +++ b/web_widget_open_tab/readme/USAGE.rst @@ -3,5 +3,5 @@ Edit the tree view and add the widget as the first field, usually, we should use -Now, we can open when clicking with the mouse wheel over the eye. +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). diff --git a/web_widget_open_tab/static/description/index.html b/web_widget_open_tab/static/description/index.html index 9869c437d..ab7512acc 100644 --- a/web_widget_open_tab/static/description/index.html +++ b/web_widget_open_tab/static/description/index.html @@ -3,7 +3,7 @@ - + Widget Open on new Tab