Order inventory lines by product name

This commit is contained in:
Cédric Krier committed 2009-01-08 20:05:04 +01:00
1 parent 4a1904fb2c
commit 0875b97e04
1 file changed
+1
+1
View File
@@ -226,6 +226,7 @@ class InventoryLine(OSV):
('inventory_product_uniq', 'UNIQUE(inventory, product)',
'Product must be unique by inventory!'),
]
self._order.insert(0, ('product', 'ASC'))
def default_unit_digits(self, cursor, user, context=None):
return 2