From 3bad5430041d94a9f9d80979d829362bf1a26b2a Mon Sep 17 00:00:00 2001 From: Adam Heinz Date: Fri, 11 Feb 2022 12:55:11 -0500 Subject: [PATCH] [MIG] web_tree_dynamic_colored_field: Migration to 15.0 --- web_tree_dynamic_colored_field/README.rst | 10 +++++----- web_tree_dynamic_colored_field/__manifest__.py | 8 ++++++-- .../static/description/index.html | 6 +++--- .../views/web_tree_dynamic_colored_field.xml | 15 --------------- 4 files changed, 14 insertions(+), 25 deletions(-) delete mode 100644 web_tree_dynamic_colored_field/views/web_tree_dynamic_colored_field.xml diff --git a/web_tree_dynamic_colored_field/README.rst b/web_tree_dynamic_colored_field/README.rst index b5df7e775..6808c78a4 100644 --- a/web_tree_dynamic_colored_field/README.rst +++ b/web_tree_dynamic_colored_field/README.rst @@ -14,13 +14,13 @@ Colorize field in 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_dynamic_colored_field + :target: https://github.com/OCA/web/tree/15.0/web_tree_dynamic_colored_field :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_dynamic_colored_field + :target: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_tree_dynamic_colored_field :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 + :target: https://runbot.odoo-community.org/runbot/162/15.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -113,7 +113,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. @@ -155,6 +155,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_dynamic_colored_field/__manifest__.py b/web_tree_dynamic_colored_field/__manifest__.py index 16e84d2a8..9b2a5b6da 100644 --- a/web_tree_dynamic_colored_field/__manifest__.py +++ b/web_tree_dynamic_colored_field/__manifest__.py @@ -4,12 +4,16 @@ "name": "Colorize field in tree views", "summary": "Allows you to dynamically color fields on tree views", "category": "Hidden/Dependency", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "depends": ["web"], "author": "Camptocamp, Therp BV, Odoo Community Association (OCA)", "license": "AGPL-3", "website": "https://github.com/OCA/web", "demo": ["demo/res_users.xml"], - "data": ["views/web_tree_dynamic_colored_field.xml"], "installable": True, + "assets": { + "web.assets_backend": [ + "/web_tree_dynamic_colored_field/static/src/js/web_tree_dynamic_colored_field.js", + ], + }, } diff --git a/web_tree_dynamic_colored_field/static/description/index.html b/web_tree_dynamic_colored_field/static/description/index.html index 0d3d1bf82..3741d95f3 100644 --- a/web_tree_dynamic_colored_field/static/description/index.html +++ b/web_tree_dynamic_colored_field/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

This module aims to add support for dynamically coloring fields in tree view according to data in the record.

@@ -452,7 +452,7 @@ This feature has then been dropped, but could be reimplement in another way.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.

@@ -488,7 +488,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

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_dynamic_colored_field/views/web_tree_dynamic_colored_field.xml b/web_tree_dynamic_colored_field/views/web_tree_dynamic_colored_field.xml deleted file mode 100644 index dbd9e43cd..000000000 --- a/web_tree_dynamic_colored_field/views/web_tree_dynamic_colored_field.xml +++ /dev/null @@ -1,15 +0,0 @@ - - -