diff --git a/code_backend_theme/__manifest__.py b/code_backend_theme/__manifest__.py index 529807186..5430f0b3d 100644 --- a/code_backend_theme/__manifest__.py +++ b/code_backend_theme/__manifest__.py @@ -25,7 +25,7 @@ "description": """Minimalist and elegant backend theme for Odoo 16, Backend Theme, Theme""", "summary": "Code Backend Theme V16 is an attractive theme for backend", "category": "Themes/Backend", - "version": "16.0.1.0.1", + "version": "16.0.1.0.2", 'author': 'Cybrosys Techno Solutions', 'company': 'Cybrosys Techno Solutions', 'maintainer': 'Cybrosys Techno Solutions', diff --git a/code_backend_theme/static/src/js/fields/colors.js b/code_backend_theme/static/src/js/fields/colors.js index 371c29d42..a8c587b8c 100644 --- a/code_backend_theme/static/src/js/fields/colors.js +++ b/code_backend_theme/static/src/js/fields/colors.js @@ -1,10 +1,10 @@ /** @odoo-module **/ -import { COLORS } from "@web/views/graph/colors"; +import { getColor } from "@web/views/graph/colors"; var code_backend_color = ["#556ee6", "#f1b44c", "#50a5f1", "#ffbb78", "#34c38f", "#98df8a", "#d62728", "#ff9896", "#9467bd", "#c5b0d5", "#8c564b", "#c49c94", "#e377c2", "#f7b6d2", "#7f7f7f", "#c7c7c7", "#bcbd22", "#dbdb8d", "#17becf", "#9edae5"]; -for (let i=0;i<=code_backend_color.length;i++){ - COLORS[i] = code_backend_color[i] +for (let i=0;i