From b878a1a6d5a9a76c3299fe54bb754d912b6eb8fa Mon Sep 17 00:00:00 2001 From: tarteo Date: Wed, 1 Mar 2023 15:55:42 +0100 Subject: [PATCH] [MIG] web_tree_many2one_clickable: Migration to 16.0 [MIG] web_tree_many2one_clickable: Migration to 16.0 [MIG] web_tree_many2one_clickable: Migration to 16.0 [MIG] web_tree_many2one_clickable: Migration to 16.0 --- web_tree_many2one_clickable/README.rst | 27 +++++--- web_tree_many2one_clickable/__manifest__.py | 15 ++-- .../i18n/web_tree_many2one_clickable.pot | 2 +- web_tree_many2one_clickable/i18n/zh_CN.po | 14 ---- .../readme/CONTRIBUTORS.rst | 1 + .../static/description/index.html | 50 +++++++------- .../many2one_button/many2one_button.esm.js | 33 +++++++++ .../many2one_button/many2one_button.scss | 10 +++ .../many2one_button/many2one_button.xml | 21 ++++++ .../src/css/web_tree_many2one_clickable.scss | 10 --- .../src/js/web_tree_many2one_clickable.js | 68 ------------------- 11 files changed, 118 insertions(+), 133 deletions(-) create mode 100644 web_tree_many2one_clickable/static/src/components/many2one_button/many2one_button.esm.js create mode 100644 web_tree_many2one_clickable/static/src/components/many2one_button/many2one_button.scss create mode 100644 web_tree_many2one_clickable/static/src/components/many2one_button/many2one_button.xml delete mode 100644 web_tree_many2one_clickable/static/src/css/web_tree_many2one_clickable.scss delete mode 100644 web_tree_many2one_clickable/static/src/js/web_tree_many2one_clickable.js diff --git a/web_tree_many2one_clickable/README.rst b/web_tree_many2one_clickable/README.rst index e113a21da..dac6d84a2 100644 --- a/web_tree_many2one_clickable/README.rst +++ b/web_tree_many2one_clickable/README.rst @@ -2,10 +2,13 @@ Clickable many2one fields for tree views ======================================== -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:2b8b8f544159751e2d6eec3db8f694788e672e6ccde284cf0783987f58441d3a + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -14,16 +17,16 @@ 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/15.0/web_tree_many2one_clickable + :target: https://github.com/OCA/web/tree/16.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-15-0/web-15-0-web_tree_many2one_clickable + :target: https://translation.odoo-community.org/projects/web-16-0/web-16-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/15.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=16.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| 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, @@ -39,7 +42,7 @@ Usage Put the mouse pointer over a many2one cell and click the button. -.. image:: https://raw.githubusercontent.com/OCA/web/15.0/web_tree_many2one_clickable/static/img/clickable.gif +.. image:: https://raw.githubusercontent.com/OCA/web/16.0/web_tree_many2one_clickable/static/img/clickable.gif Known issues / Roadmap ====================== @@ -55,8 +58,8 @@ 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 `_. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -69,6 +72,7 @@ Authors * Therp BV * Tecnativa * Camptocamp +* Onestein Contributors ~~~~~~~~~~~~ @@ -80,6 +84,7 @@ Contributors * Artem Kostyuk * Anand Kansagra * Alexandre Díaz +* Dennis Sluijk Maintainers ~~~~~~~~~~~ @@ -94,6 +99,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 32fa1fb7b..b5847d3cc 100644 --- a/web_tree_many2one_clickable/__manifest__.py +++ b/web_tree_many2one_clickable/__manifest__.py @@ -7,12 +7,13 @@ { "name": "Clickable many2one fields for tree views", "summary": "Open the linked resource when clicking on their name", - "version": "15.0.1.0.0", + "version": "16.0.1.0.0", "category": "Hidden", "website": "https://github.com/OCA/web", "author": "Therp BV, " "Tecnativa, " "Camptocamp, " + "Onestein, " "Odoo Community Association (OCA)", "license": "AGPL-3", "installable": True, @@ -20,10 +21,12 @@ "data": [], "assets": { "web.assets_backend": [ - "web_tree_many2one_clickable/static/src/js/*.js", - ], - "web.assets_common": [ - "web_tree_many2one_clickable/static/src/css/web_tree_many2one_clickable.scss", - ], + "web_tree_many2one_clickable/static/src/components/" + "many2one_button/many2one_button.esm.js", + "web_tree_many2one_clickable/static/src/components/" + "many2one_button/many2one_button.scss", + "web_tree_many2one_clickable/static/src/components/" + "many2one_button/many2one_button.xml", + ] }, } diff --git a/web_tree_many2one_clickable/i18n/web_tree_many2one_clickable.pot b/web_tree_many2one_clickable/i18n/web_tree_many2one_clickable.pot index a11baf5cd..78d58d53f 100644 --- a/web_tree_many2one_clickable/i18n/web_tree_many2one_clickable.pot +++ b/web_tree_many2one_clickable/i18n/web_tree_many2one_clickable.pot @@ -3,7 +3,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 15.0\n" +"Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" diff --git a/web_tree_many2one_clickable/i18n/zh_CN.po b/web_tree_many2one_clickable/i18n/zh_CN.po index 4159be77e..e69de29bb 100644 --- a/web_tree_many2one_clickable/i18n/zh_CN.po +++ b/web_tree_many2one_clickable/i18n/zh_CN.po @@ -1,14 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" -"Report-Msgid-Bugs-To: \n" -"Last-Translator: Automatically generated\n" -"Language-Team: none\n" -"Language: zh_CN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=1; plural=0;\n" diff --git a/web_tree_many2one_clickable/readme/CONTRIBUTORS.rst b/web_tree_many2one_clickable/readme/CONTRIBUTORS.rst index 474d91079..448d7c0c3 100644 --- a/web_tree_many2one_clickable/readme/CONTRIBUTORS.rst +++ b/web_tree_many2one_clickable/readme/CONTRIBUTORS.rst @@ -5,3 +5,4 @@ * Artem Kostyuk * Anand Kansagra * Alexandre Díaz +* Dennis Sluijk diff --git a/web_tree_many2one_clickable/static/description/index.html b/web_tree_many2one_clickable/static/description/index.html index 7d473f246..d96339c7c 100644 --- a/web_tree_many2one_clickable/static/description/index.html +++ b/web_tree_many2one_clickable/static/description/index.html @@ -1,20 +1,20 @@ - + - + Clickable many2one fields for tree views