diff --git a/web_tree_dynamic_colored_field/__manifest__.py b/web_tree_dynamic_colored_field/__manifest__.py index b1e99b51a..7ba8e19c1 100644 --- a/web_tree_dynamic_colored_field/__manifest__.py +++ b/web_tree_dynamic_colored_field/__manifest__.py @@ -4,7 +4,7 @@ "name": "Colorize field in tree views", "summary": "Allows you to dynamically color fields on tree views", "category": "Hidden/Dependency", - "version": "17.0.1.0.0", + "version": "18.0.1.0.0", "depends": ["web"], "author": "Camptocamp, Therp BV, Odoo Community Association (OCA)", "license": "AGPL-3", diff --git a/web_tree_dynamic_colored_field/static/src/js/list_renderer.esm.js b/web_tree_dynamic_colored_field/static/src/js/list_renderer.esm.js index 866195516..545472502 100644 --- a/web_tree_dynamic_colored_field/static/src/js/list_renderer.esm.js +++ b/web_tree_dynamic_colored_field/static/src/js/list_renderer.esm.js @@ -1,8 +1,8 @@ /** @odoo-module **/ -import {patch} from "@web/core/utils/patch"; import {ListRenderer} from "@web/views/list/list_renderer"; import {evaluateBooleanExpr} from "@web/core/py_js/py"; +import {patch} from "@web/core/utils/patch"; patch(ListRenderer.prototype, { /** @@ -30,9 +30,9 @@ patch(ListRenderer.prototype, { /** * Return the `color` that has truthfull expresssion * - * @param column {Object} represents field - * @param record {Record} - * @param color_target {String} 'bg_color' or 'fg_color' + * @param {Object} column represents field + * @param {Record} record + * @param {String} color_target 'bg_color' or 'fg_color' * @returns {String | undefined} color */ getDynamicColor(column, record, color_target) {