From 2e301ea35dc11feb10759496320b44361ea0e4ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 15 Feb 2022 00:08:47 +0100 Subject: [PATCH] Do not sort state selection issue11169 review374761005 --- payment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/payment.py b/payment.py index 8b037bd394..27551fd3b5 100644 --- a/payment.py +++ b/payment.py @@ -491,7 +491,7 @@ class Mandate(Workflow, ModelSQL, ModelView): ('requested', 'Requested'), ('validated', 'Validated'), ('cancelled', 'Cancelled'), - ], 'State', readonly=True) + ], "State", readonly=True, sort=False) payments = fields.One2Many('account.payment', 'sepa_mandate', 'Payments') has_payments = fields.Function(fields.Boolean('Has Payments'), 'get_has_payments') @@ -777,7 +777,7 @@ class Message(Workflow, ModelSQL, ModelView): ('waiting', 'Waiting'), ('done', 'Done'), ('cancelled', 'Cancelled'), - ], 'State', readonly=True, select=True) + ], "State", readonly=True, select=True, sort=False) @classmethod def __setup__(cls):