mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[FIX] server_action_navigate: fix default order in ir_action_server_navigate_line
This commit is contained in:
committed by
Sylvain LE GAL
parent
8ce52923bb
commit
e58bde6dfe
@@ -8,9 +8,9 @@ from odoo import api, fields, models
|
||||
class IrActionsServerNavigateLine(models.Model):
|
||||
_name = "ir.actions.server.navigate.line"
|
||||
_description = "Server Actions Navigation Lines"
|
||||
_order = "sequence"
|
||||
_order = "sequence, id"
|
||||
|
||||
sequence = fields.Integer(string="Sequence", default=1)
|
||||
sequence = fields.Integer(string="Sequence")
|
||||
|
||||
field_model = fields.Char(string="Model", related="field_id.relation", store=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user