Do not sort state selection

issue11169
review374761005
This commit is contained in:
Cédric Krier
2022-02-15 00:08:47 +01:00
parent a8d1349bee
commit a0f9bcdbc3
+1 -1
View File
@@ -173,7 +173,7 @@ class Period(Workflow, ModelSQL, ModelView):
state = fields.Selection([
('draft', 'Draft'),
('closed', 'Closed'),
], 'State', select=True, readonly=True,
], "State", select=True, readonly=True, sort=False,
help="The current state of the attendance period.")
@classmethod