Order inventory lines by product name
This commit is contained in:
1 parent
4a1904fb2c
commit
0875b97e04
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user