Added default order on purchase object
This commit is contained in:
1 parent
8d66e8f695
commit
f3ee641237
1 file changed
+1
@@ -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.',
|
||||
|
||||
Reference in new issue
Block a user