diff --git a/addons/web/static/src/views/form/form_compiler.js b/addons/web/static/src/views/form/form_compiler.js index 9304ae58209..1fbadf8527b 100644 --- a/addons/web/static/src/views/form/form_compiler.js +++ b/addons/web/static/src/views/form/form_compiler.js @@ -403,7 +403,7 @@ export class FormCompiler extends ViewCompiler { compileHeader(el, params) { const statusBar = createElement("div"); statusBar.className = - "o_form_statusbar position-relative d-flex justify-content-between mb-md-2 pb-2 pb-md-0"; + "o_form_statusbar position-relative d-flex justify-content-between mb-0 mb-md-2 pb-2 pb-md-0"; const buttons = []; const others = []; for (const child of el.childNodes) { diff --git a/addons/web/static/tests/views/form/form_compiler_tests.js b/addons/web/static/tests/views/form/form_compiler_tests.js index 3c6b1c75125..8b8728a54bf 100644 --- a/addons/web/static/tests/views/form/form_compiler_tests.js +++ b/addons/web/static/tests/views/form/form_compiler_tests.js @@ -184,7 +184,7 @@ QUnit.module("Form Compiler", (hooks) => { const expected = /*xml*/ ` - + someDiv `; @@ -207,7 +207,7 @@ QUnit.module("Form Compiler", (hooks) => { - + someDiv inside sheet @@ -267,7 +267,7 @@ QUnit.module("Form Compiler", (hooks) => { `; const expected = /*xml*/ ` - + someDiv @@ -285,7 +285,7 @@ QUnit.module("Form Compiler", (hooks) => { `; const expected = /*xml*/ ` - + `;