Added default order on purchase object

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