[16.0][MIG] web_widget_mpld3_chart

pull/2539/head
Christopher Ormaza 2023-06-22 13:23:52 -05:00
parent 22ba43008b
commit 6426fe127a
4 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# generated from manifests external_dependencies # generated from manifests external_dependencies
beautifulsoup4 beautifulsoup4
bokeh==3.1.1 bokeh==3.1.1
mpld3==0.5.7 mpld3==0.5.9
plotly==5.13.1 plotly==5.13.1

View File

@ -6,11 +6,11 @@
"category": "Hidden", "category": "Hidden",
"summary": "This widget allows to display charts using MPLD3 library.", "summary": "This widget allows to display charts using MPLD3 library.",
"author": "ForgeFlow, Odoo Community Association (OCA)", "author": "ForgeFlow, Odoo Community Association (OCA)",
"version": "15.0.1.0.0", "version": "16.0.1.0.0",
"website": "https://github.com/OCA/web", "website": "https://github.com/OCA/web",
"depends": ["web"], "depends": ["web"],
"data": [], "data": [],
"external_dependencies": {"python": ["mpld3==0.5.7", "beautifulsoup4"]}, "external_dependencies": {"python": ["mpld3==0.5.9", "beautifulsoup4"]},
"auto_install": False, "auto_install": False,
"development_status": "Beta", "development_status": "Beta",
"maintainers": ["JordiBForgeFlow", "ChrisOForgeFlow"], "maintainers": ["JordiBForgeFlow", "ChrisOForgeFlow"],

View File

@ -6,7 +6,7 @@ import fieldRegistry from "web.field_registry";
const Mpld3ChartWidget = basicFields.FieldChar.extend({ const Mpld3ChartWidget = basicFields.FieldChar.extend({
jsLibs: [ jsLibs: [
"/web_widget_mpld3_chart/static/src/lib/d3/d3.v5.js", "/web_widget_mpld3_chart/static/src/lib/d3/d3.v5.js",
"/web_widget_mpld3_chart/static/src/lib/mpld3/mpld3.v0.5.7.js", "/web_widget_mpld3_chart/static/src/lib/mpld3/mpld3.v0.5.9.js",
], ],
_renderReadonly: function () { _renderReadonly: function () {
try { try {

View File

@ -8,7 +8,7 @@ var mpld3 = {
plugin_map: {} plugin_map: {}
}; };
mpld3.version = "0.5.7"; mpld3.version = "0.5.9";
mpld3.register_plugin = function(name, obj) { mpld3.register_plugin = function(name, obj) {
mpld3.plugin_map[name] = obj; mpld3.plugin_map[name] = obj;