mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG] kpi_dashboard_bokeh: Migration to 14.0
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user