mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[MIG] server_action_navigate: Migration to 14.0
This commit is contained in:
@@ -9,7 +9,9 @@ from odoo.exceptions import UserError
|
||||
class IrActionsServer(models.Model):
|
||||
_inherit = "ir.actions.server"
|
||||
|
||||
state = fields.Selection(selection_add=[("navigate", "Navigate")])
|
||||
state = fields.Selection(
|
||||
selection_add=[("navigate", "Navigate")], ondelete={"navigate": "set default"}
|
||||
)
|
||||
|
||||
navigate_action_id = fields.Many2one(
|
||||
string="Navigation Action",
|
||||
|
||||
Reference in New Issue
Block a user