[MIG] kpi_dashboard_bokeh: Migration to 14.0

This commit is contained in:
Enric Tobella
2021-04-28 10:14:36 +02:00
parent a5e9c7cc35
commit 5743e13f24
3 changed files with 5 additions and 2 deletions

View File

@@ -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",

View File

@@ -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(

View File

@@ -1,2 +1,3 @@
server-tools
queue
web