changeset 8057570f55c1 in modules/account_invoice:default
details: 
https://hg.tryton.org/modules/account_invoice?cmd=changeset&node=8057570f55c1
description:
        Do not sort state selection

        issue11169
        review374761005
diffstat:

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

diffs (12 lines):

diff -r 38d21c5755e2 -r 8057570f55c1 invoice.py
--- a/invoice.py        Mon Feb 14 00:11:38 2022 +0100
+++ b/invoice.py        Tue Feb 15 00:08:46 2022 +0100
@@ -90,7 +90,7 @@
             ('posted', "Posted"),
             ('paid', "Paid"),
             ('cancelled', "Cancelled"),
-            ], "State", readonly=True)
+            ], "State", readonly=True, sort=False)
     invoice_date = fields.Date('Invoice Date',
         states={
             'readonly': Eval('state').in_(['posted', 'paid', 'cancelled']),

Reply via email to