Do not sort state selection

issue11169
review374761005
This commit is contained in:
Cédric Krier
2022-02-15 00:08:46 +01:00
parent e268c150e6
commit f705ea88e0
+1 -1
View File
@@ -115,7 +115,7 @@ class InvoiceDeferred(Workflow, ModelSQL, ModelView):
('draft', "Draft"),
('running', "Running"),
('closed', "Closed"),
], "State", readonly=True, required=True)
], "State", readonly=True, required=True, sort=False)
currency = fields.Function(fields.Many2One(
'currency.currency', "Currency"), 'on_change_with_currency')