projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
862a0a8
)
[FIX] stock location tree needs sort
author
Antony Lesuisse
<al@openerp.com>
Mon, 8 Nov 2010 18:27:35 +0000
(19:27 +0100)
committer
Antony Lesuisse
<al@openerp.com>
Mon, 8 Nov 2010 18:27:35 +0000
(19:27 +0100)
lp bug: https://launchpad.net/bugs/651144 fixed
bzr revid: al@openerp.com-
20101108182735
-t37cs0548mriqw72
addons/stock/stock.py
patch
|
blob
|
history
diff --git
a/addons/stock/stock.py
b/addons/stock/stock.py
index
4f76093
..
5c6ef0b
100644
(file)
--- a/
addons/stock/stock.py
+++ b/
addons/stock/stock.py
@@
-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):