diff --git a/addons/web/static/src/views/form/form_compiler.js b/addons/web/static/src/views/form/form_compiler.js index f4c838b2af9..59d4d35d31c 100644 --- a/addons/web/static/src/views/form/form_compiler.js +++ b/addons/web/static/src/views/form/form_compiler.js @@ -611,7 +611,7 @@ export class FormCompiler extends ViewCompiler { sheetBG.className = "o_form_sheet_bg"; const sheetFG = createElement("div"); - sheetFG.className = "o_form_sheet position-relative"; + sheetFG.className = "o_form_sheet position-relative clearfix"; append(sheetBG, sheetFG); 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 4ec9a559773..3b0c4f3f6c7 100644 --- a/addons/web/static/tests/views/form/form_compiler_tests.js +++ b/addons/web/static/tests/views/form/form_compiler_tests.js @@ -209,7 +209,7 @@ QUnit.module("Form Compiler", (hooks) => {
someDiv
-
+
inside sheet