changeset f17a253c795d in modules/analytic_account:default
details:
https://hg.tryton.org/modules/analytic_account?cmd=changeset&node=f17a253c795d
description:
Do not sort state selection
issue11169
review374761005
diffstat:
account.py | 2 +-
line.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 19c06cff3a1e -r f17a253c795d account.py
--- a/account.py Thu Feb 03 23:13:26 2022 +0100
+++ b/account.py Tue Feb 15 00:08:47 2022 +0100
@@ -80,7 +80,7 @@
('draft', 'Draft'),
('opened', 'Opened'),
('closed', 'Closed'),
- ], 'State', required=True)
+ ], "State", required=True, sort=False)
note = fields.Text('Note')
distributions = fields.One2Many(
'analytic_account.account.distribution', 'parent',
diff -r 19c06cff3a1e -r f17a253c795d line.py
--- a/line.py Thu Feb 03 23:13:26 2022 +0100
+++ b/line.py Tue Feb 15 00:08:47 2022 +0100
@@ -176,7 +176,7 @@
analytic_state = fields.Selection([
('draft', 'Draft'),
('valid', 'Valid'),
- ], 'Analytic State', readonly=True, select=True)
+ ], "Analytic State", readonly=True, select=True, sort=False)
@classmethod
def __setup__(cls):