# Copyright 2019 Creu Blanca # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import fields, models class IrUiView(models.Model): _inherit = "ir.ui.view" type = fields.Selection( selection_add=[("kpi_dashboard", "Dashboard")], ondelete={"kpi_dashboard": "cascade"}, )