Added default order on sale object

This commit is contained in:
Bertrand Chenal committed 2008-11-25 23:52:35 +01:00
1 parent 192d00ccf2
commit 61437d9056
1 file changed
+1
+1
View File
@@ -116,6 +116,7 @@ class Sale(OSV):
def __init__(self):
super(Sale, self).__init__()
self._order[0] = ('id', 'DESC')
self._constraints += [
('check_method', 'wrong_method')
]