From f705ea88e0efe87a624857bb6947a2cf0b2062cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 15 Feb 2022 00:08:46 +0100 Subject: [PATCH] Do not sort state selection issue11169 review374761005 --- account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account.py b/account.py index 66534bd662..abd77ab51d 100644 --- a/account.py +++ b/account.py @@ -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')