summaryrefslogtreecommitdiff
path: root/addons/base_automation/models/ir_actions.py
blob: 0cf9263c637c52c87256a40fa21873b510b5b386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

from odoo import fields, models


class ServerAction(models.Model):
    _inherit = "ir.actions.server"

    usage = fields.Selection(selection_add=[
        ('base_automation', 'Automated Action')
    ], ondelete={'base_automation': 'cascade'})