[IMP]stock:Location sorting have also order by parent_left

bzr revid: ron@tinyerp.com-20110606060942-g9g5139qcbh7p9tw
This commit is contained in:
ron@tinyerp.com
2011-06-06 11:39:42 +05:30
parent d337219345
commit af26a3ad71
+1 -1
View File
@@ -71,7 +71,7 @@ class stock_location(osv.osv):
_parent_name = "location_id"
_parent_store = True
_parent_order = 'posz,name'
_order = 'complete_name'
_order = 'complete_name, parent_left'
def name_get(self, cr, uid, ids, context=None):
res = []