[FIX] web: fix layout when banner and search_panel
Before this rev., the layout was broken when a search_panel was used alongside the onboarding banner in a kanban view. Note that this usecase doesn't exist in standard. Closes #31986 closes odoo/odoo#34303 Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
This commit is contained in:
@@ -325,7 +325,7 @@ var AbstractController = mvc.Controller.extend(ActionMixin, {
|
||||
js.remove();
|
||||
});
|
||||
return Promise.all(defs).then(function () {
|
||||
$banner.prependTo(self.$('> .o_content'));
|
||||
$banner.insertBefore(self.$('> .o_content'));
|
||||
self._$banner = $banner;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user