Purpose is to ease finding server actions code and views. We just rename some files and move some code, nothing should change functionally. Task-2613245 (Server actions cleaning and mail update) Part-of: odoo/odoo#75906
13 lines
345 B
Python
13 lines
345 B
Python
# -*- 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'})
|