[FIX] account_payment: payment_order - sort by id desc to display newest on top of the list

lp bug: https://launchpad.net/bugs/772509 fixed

bzr revid: ara@tinyerp.com-20110510084245-b78ce2mjvw7vm4bx
This commit is contained in:
Ferdinand @ Camptocamp 2011-05-10 14:12:45 +05:30 committed by ARA (OpenERP)
parent 12f8701002
commit 9ecd09d5dd
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ class payment_order(osv.osv):
_name = 'payment.order'
_description = 'Payment Order'
_rec_name = 'reference'
_order = 'id desc'
def get_wizard(self, type):
logger = netsvc.Logger()