From 3b375c23e8da740f4ec2a1d46c39616c7be2758a Mon Sep 17 00:00:00 2001 From: Carlos Roca Date: Mon, 16 Jan 2023 08:23:21 +0100 Subject: [PATCH] [IMP] web_tree_many2one_clickable: Fix pre-commit + improve readme --- web_tree_many2one_clickable/README.rst | 22 ++-- .../readme/ROADMAP.rst | 6 +- .../static/description/index.html | 15 ++- .../src/css/web_tree_many2one_clickable.scss | 14 +-- .../src/js/web_tree_many2one_clickable.js | 104 +++++++++--------- 5 files changed, 86 insertions(+), 75 deletions(-) diff --git a/web_tree_many2one_clickable/README.rst b/web_tree_many2one_clickable/README.rst index bc0d99995..81767b6b3 100644 --- a/web_tree_many2one_clickable/README.rst +++ b/web_tree_many2one_clickable/README.rst @@ -14,14 +14,14 @@ 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/14.0/web_tree_many2one_clickable + :target: https://github.com/OCA/web/tree/15.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-14-0/web-14-0-web_tree_many2one_clickable + :target: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_tree_many2one_clickable :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/14.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/webui/builds.html?repo=OCA/web&target_branch=15.0 + :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -39,12 +39,16 @@ Usage Put the mouse pointer over a many2one cell and click the button. -.. image:: https://raw.githubusercontent.com/OCA/web/14.0/web_tree_many2one_clickable/static/img/clickable.gif +.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_tree_many2one_clickable/static/img/clickable.gif 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. +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. + +To add this functionality to lines of sales, purchases and invoices, as they are +special views, is required a glue module that add this feature. Bug Tracker =========== @@ -52,7 +56,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. @@ -90,6 +94,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/readme/ROADMAP.rst b/web_tree_many2one_clickable/readme/ROADMAP.rst index faed53a9f..1c9c8cdc4 100644 --- a/web_tree_many2one_clickable/readme/ROADMAP.rst +++ b/web_tree_many2one_clickable/readme/ROADMAP.rst @@ -1 +1,5 @@ -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. +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. + +To add this functionality to lines of sales, purchases and invoices, as they are +special views, is required a glue module that add this feature. diff --git a/web_tree_many2one_clickable/static/description/index.html b/web_tree_many2one_clickable/static/description/index.html index 9aa8e72a0..463c9659c 100644 --- a/web_tree_many2one_clickable/static/description/index.html +++ b/web_tree_many2one_clickable/static/description/index.html @@ -3,7 +3,7 @@ - + Clickable many2one fields for tree views