[FIX] orm: preserve elements order when inheriting views, also after a leaf element
lp bug: https://launchpad.net/bugs/686275 fixed bzr revid: odo@openerp.com-20101211012104-gt1cg3z1ec91mg34
This commit is contained in:
@@ -1643,6 +1643,7 @@ class orm_template(object):
|
||||
elif pos == 'after':
|
||||
if sib is None:
|
||||
node.addnext(child)
|
||||
node = child
|
||||
else:
|
||||
sib.addprevious(child)
|
||||
elif pos == 'before':
|
||||
|
||||
Reference in New Issue
Block a user