Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
13
web_timeline/models/ir_action.py
Executable file
13
web_timeline/models/ir_action.py
Executable file
@@ -0,0 +1,13 @@
|
||||
# Copyright 2024 Tecnativa - Carlos Lopez
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
from odoo import fields, models
|
||||
|
||||
from .ir_ui_view import TIMELINE_VIEW
|
||||
|
||||
|
||||
class ActWindowView(models.Model):
|
||||
_inherit = "ir.actions.act_window.view"
|
||||
|
||||
view_mode = fields.Selection(
|
||||
selection_add=[TIMELINE_VIEW], ondelete={"timeline": "cascade"}
|
||||
)
|
||||
Reference in New Issue
Block a user