Improved order on purchase

This commit is contained in:
Bertrand Chenal committed 2008-11-26 01:26:05 +01:00
1 parent f3ee641237
commit e005fb03d7
1 file changed
+2 -1
+2 -1
View File
@@ -96,7 +96,8 @@ class Purchase(OSV):
def __init__(self):
super(Purchase, self).__init__()
self._order[0] = ('id', 'DESC')
self._order.insert(0, ('purchase_date', 'DESC'))
self._order.insert(1, ('id', 'DESC'))
self._error_messages.update({
'invoice_addresse_required': 'Invoice addresses must be '
'defined for the quotation.',