11 lines
265 B
Python
11 lines
265 B
Python
# -*- coding: utf-8 -*-
|
|
from odoo import fields, models
|
|
|
|
|
|
class IrActionsAct_WindowView(models.Model):
|
|
_inherit = 'ir.actions.act_window.view'
|
|
|
|
view_mode = fields.Selection(selection_add=[
|
|
('cohort', 'Cohort')
|
|
], ondelete={'cohort': 'cascade'})
|