changeset 8b38197ef110 in modules/account_invoice_defer:default
details: 
https://hg.tryton.org/modules/account_invoice_defer?cmd=changeset&node=8b38197ef110
description:
        Do not sort state selection

        issue11169
        review374761005
diffstat:

 account.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 0af0af5a339b -r 8b38197ef110 account.py
--- a/account.py        Tue Jan 25 23:26:47 2022 +0100
+++ b/account.py        Tue Feb 15 00:08:46 2022 +0100
@@ -115,7 +115,7 @@
             ('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')

Reply via email to