From 0975cb41eceeb13983a032044ea6eb9562e79544 Mon Sep 17 00:00:00 2001 From: Mustufa Rangwala Date: Fri, 27 Aug 2010 11:47:56 +0530 Subject: [PATCH] [IMP] Account invoice: the order of invoices (all) is not correct: it should display them by number desc (not asc as currently) bzr revid: mra@mra-laptop-20100827061756-s1ujub9a3ye5nfjc --- addons/account/invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/invoice.py b/addons/account/invoice.py index e7b95cea8dc..4e1a5a052ec 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -219,7 +219,7 @@ class account_invoice(osv.osv): _name = "account.invoice" _description = 'Invoice' - _order = "id" + _order = "id desc" _columns = { 'name': fields.char('Description', size=64, select=True, readonly=True, states={'draft':[('readonly',False)]}),