reporting-engine/kpi_dashboard/models/ir_ui_view.py

13 lines
311 B
Python
Raw Permalink Normal View History

2021-04-28 15:43:56 +00:00
# Copyright 2019 Creu Blanca
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from flectra import fields, models
class IrUiView(models.Model):
_inherit = "ir.ui.view"
type = fields.Selection(
selection_add=[("dashboard", "Dashboard")], ondelete={"dashboard": "cascade"}
)