mail/models/ir_action_act_window.py
Данил Воробьев 6e6f15d803 initial commit
2024-05-03 09:40:35 +00:00

11 lines
261 B
Python

# -*- coding: utf-8 -*-
from odoo import fields, models
class ActWindowView(models.Model):
_inherit = 'ir.actions.act_window.view'
view_mode = fields.Selection(selection_add=[
('activity', 'Activity')
], ondelete={'activity': 'cascade'})