diff --git a/web_tree_many2one_clickable/README.rst b/web_tree_many2one_clickable/README.rst index eebb3134b..66a4e09e3 100644 --- a/web_tree_many2one_clickable/README.rst +++ b/web_tree_many2one_clickable/README.rst @@ -17,13 +17,13 @@ Clickable many2one fields for tree views :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/17.0/web_tree_many2one_clickable + :target: https://github.com/OCA/web/tree/18.0/web_tree_many2one_clickable :alt: OCA/web .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_tree_many2one_clickable + :target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_tree_many2one_clickable :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=17.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=18.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -37,6 +37,12 @@ directly, using a button without accessing the form. .. contents:: :local: +Configuration +============= + +After installation, all many2one and reference fields will be clickable +by default. + Usage ===== @@ -44,7 +50,7 @@ Put the mouse pointer over a many2one cell and click the button. |image| -.. |image| image:: https://raw.githubusercontent.com/OCA/web/17.0/web_tree_many2one_clickable/static/img/clickable.gif +.. |image| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_tree_many2one_clickable/static/img/clickable.gif Known issues / Roadmap ====================== @@ -62,7 +68,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 to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -81,15 +87,24 @@ Contributors ------------ - Therp BV -- Pedro M. Baeza -- Antonio Espinosa + - Sodexis + - Artem Kostyuk + - Anand Kansagra -- Alexandre Díaz + - Dennis Sluijk + - Maciej Wichowski +- `Tecnativa `__ + + - Pedro M. Baeza + - Antonio Espinosa + - Alexandre Díaz + - Carlos Roca + Maintainers ----------- @@ -103,6 +118,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_tree_many2one_clickable/__manifest__.py b/web_tree_many2one_clickable/__manifest__.py index b99b78fef..3bac51690 100644 --- a/web_tree_many2one_clickable/__manifest__.py +++ b/web_tree_many2one_clickable/__manifest__.py @@ -7,7 +7,7 @@ { "name": "Clickable many2one fields for tree views", "summary": "Open the linked resource when clicking on their name", - "version": "17.0.1.0.0", + "version": "18.0.1.0.0", "category": "Hidden", "website": "https://github.com/OCA/web", "author": "Therp BV, " diff --git a/web_tree_many2one_clickable/readme/CONFIGURATION.rst b/web_tree_many2one_clickable/readme/CONFIGURE.md similarity index 100% rename from web_tree_many2one_clickable/readme/CONFIGURATION.rst rename to web_tree_many2one_clickable/readme/CONFIGURE.md diff --git a/web_tree_many2one_clickable/readme/CONTRIBUTORS.md b/web_tree_many2one_clickable/readme/CONTRIBUTORS.md index 801d72d84..82274cf71 100644 --- a/web_tree_many2one_clickable/readme/CONTRIBUTORS.md +++ b/web_tree_many2one_clickable/readme/CONTRIBUTORS.md @@ -1,9 +1,12 @@ - Therp BV -- Pedro M. Baeza \<\> -- Antonio Espinosa \<\> - Sodexis \<\> - Artem Kostyuk \<\> - Anand Kansagra \<\> -- Alexandre Díaz \<\> - Dennis Sluijk \<\> - Maciej Wichowski \<\> + +- [Tecnativa](https://www.tecnativa.com) + - Pedro M. Baeza + - Antonio Espinosa + - Alexandre Díaz + - Carlos Roca diff --git a/web_tree_many2one_clickable/static/description/index.html b/web_tree_many2one_clickable/static/description/index.html index 2825f8384..006c408e4 100644 --- a/web_tree_many2one_clickable/static/description/index.html +++ b/web_tree_many2one_clickable/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -368,31 +369,37 @@ ul.auto-toc { !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:41451aef51a252c3aa3a636dafaddb337b6e192a91df1097b7e84aa517962b82 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

This addon forces Odoo to use many2one widget on a many2one fields in tree views. This allows users to open linked resources from trees directly, using a button without accessing the form.

Table of contents

+
+

Configuration

+

After installation, all many2one and reference fields will be clickable +by default.

+
-

Usage

+

Usage

Put the mouse pointer over a many2one cell and click the button.

-

image

+

image

-

Known issues / Roadmap

+

Known issues / Roadmap

This widget is currently not working on the product field in the lines tree of the sale order form, see https://github.com/OCA/web/pull/1438 for further details.

@@ -400,17 +407,17 @@ for further details.

they are special views, is required a glue module that add this feature.

-

Bug Tracker

+

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.

+feedback.

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

-

Credits

+

Credits

-

Authors

+

Authors

  • Therp BV
  • Tecnativa
  • @@ -419,27 +426,33 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
-

Contributors

+

Contributors

-

Maintainers

+

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +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.

+

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_tree_many2one_clickable/static/src/components/many2one_button/many2one_button.esm.js b/web_tree_many2one_clickable/static/src/components/many2one_button/many2one_button.esm.js index 46ed06e7e..24538608c 100644 --- a/web_tree_many2one_clickable/static/src/components/many2one_button/many2one_button.esm.js +++ b/web_tree_many2one_clickable/static/src/components/many2one_button/many2one_button.esm.js @@ -1,4 +1,3 @@ -/** @odoo-module */ /* Copyright 2013 Therp BV (). * Copyright 2015 Pedro M. Baeza * Copyright 2016 Antonio Espinosa