diff --git a/kpi_dashboard_bokeh/__manifest__.py b/kpi_dashboard_bokeh/__manifest__.py index 1a1b273d1..e078900b7 100644 --- a/kpi_dashboard_bokeh/__manifest__.py +++ b/kpi_dashboard_bokeh/__manifest__.py @@ -5,7 +5,7 @@ "name": "Kpi Dashboard Bokeh", "summary": """ Create dashboards using bokeh""", - "version": "12.0.1.0.0", + "version": "14.0.1.0.0", "license": "AGPL-3", "author": "Creu Blanca,Odoo Community Association (OCA)", "website": "https://github.com/OCA/reporting-engine", diff --git a/kpi_dashboard_bokeh/models/kpi_kpi.py b/kpi_dashboard_bokeh/models/kpi_kpi.py index 375ea53f3..39d2232b6 100644 --- a/kpi_dashboard_bokeh/models/kpi_kpi.py +++ b/kpi_dashboard_bokeh/models/kpi_kpi.py @@ -18,7 +18,9 @@ class KpiKpi(models.Model): _inherit = "kpi.kpi" - widget = fields.Selection(selection_add=[("bokeh", "Bokeh")]) + widget = fields.Selection( + selection_add=[("bokeh", "Bokeh")], ondelete={"bokeh": "cascade"} + ) def _get_bokeh_theme(self): return Theme( diff --git a/oca_dependencies.txt b/oca_dependencies.txt index 755a720cb..7e6025929 100644 --- a/oca_dependencies.txt +++ b/oca_dependencies.txt @@ -1,2 +1,3 @@ server-tools queue +web