changeset 61f7f40ba7bb in modules/account_invoice:default
details: 
https://hg.tryton.org/modules/account_invoice?cmd=changeset;node=61f7f40ba7bb
description:
        Order with nulls first

        issue10078
        review331831002
diffstat:

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

diffs (12 lines):

diff -r 715ff0fd923d -r 61f7f40ba7bb invoice.py
--- a/invoice.py        Fri Feb 12 23:56:29 2021 +0100
+++ b/invoice.py        Sun Feb 14 15:48:44 2021 +0100
@@ -247,7 +247,7 @@
         cls._check_modify_exclude = ['state', 'payment_lines', 'cancel_move',
                 'invoice_report_cache', 'invoice_report_format', 'lines']
         cls._order = [
-            ('number', 'DESC'),
+            ('number', 'DESC NULLS FIRST'),
             ('id', 'DESC'),
             ]
         cls.journal.domain = [

Reply via email to