changeset 1935475344d7 in modules/account_payment_sepa:default
details:
https://hg.tryton.org/modules/account_payment_sepa?cmd=changeset&node=1935475344d7
description:
Do not sort state selection
issue11169
review374761005
diffstat:
payment.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 91cbdaeece7e -r 1935475344d7 payment.py
--- a/payment.py Sat Dec 18 16:29:39 2021 +0100
+++ b/payment.py Tue Feb 15 00:08:47 2022 +0100
@@ -491,7 +491,7 @@
('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 @@
('waiting', 'Waiting'),
('done', 'Done'),
('cancelled', 'Cancelled'),
- ], 'State', readonly=True, select=True)
+ ], "State", readonly=True, select=True, sort=False)
@classmethod
def __setup__(cls):