[FIX] stock location tree needs sort

lp bug: https://launchpad.net/bugs/651144 fixed

bzr revid: al@openerp.com-20101108182735-t37cs0548mriqw72
This commit is contained in:
Antony Lesuisse
2010-11-08 19:27:35 +01:00
parent 862a0a8ca7
commit 794bd176cd
+1 -1
View File
@@ -69,7 +69,7 @@ class stock_location(osv.osv):
_description = "Location"
_parent_name = "location_id"
_parent_store = True
_parent_order = 'id'
_parent_order = 'name'
_order = 'parent_left'
def name_get(self, cr, uid, ids, context=None):