[IMP] Account invoice: the order of invoices (all) is not correct: it should display...
authorMustufa Rangwala <mra@mra-laptop>
Fri, 27 Aug 2010 06:17:56 +0000 (11:47 +0530)
committerMustufa Rangwala <mra@mra-laptop>
Fri, 27 Aug 2010 06:17:56 +0000 (11:47 +0530)
bzr revid: mra@mra-laptop-20100827061756-s1ujub9a3ye5nfjc

addons/account/invoice.py

index e7b95ce..4e1a5a0 100644 (file)
@@ -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)]}),