[FIX] work around distribute_branding
authorXavier Morel <xmo@openerp.com>
Mon, 10 Feb 2014 13:28:55 +0000 (14:28 +0100)
committerXavier Morel <xmo@openerp.com>
Mon, 10 Feb 2014 13:28:55 +0000 (14:28 +0100)
commitd4c7de4b03c7f21f79bdad97ff4475e367572c61
tree1e26dab130b57db08e49ea957cb914645d44dd8e
parente95eb140a74487a91a4c657c3616e4ceb10ea9b4
[FIX] work around distribute_branding

distribute_branding is applied after view inheritance is applied, and does not
take it in account. As a result, altering an existing view "from the top"
(e.g. adding a div element preceding an existing div) will alter the xpath
leading to whatever element we need to deal with.

Move fakebar injection to the bottom of the body, where it can't have any
impact on preceding node paths.

bzr revid: xmo@openerp.com-20140210132855-lwh1ow1tq1e0pidp
addons/website/views/website_templates.xml