Merge PR #2571 into 16.0

Signed-off-by yajo
This commit is contained in:
OCA-git-bot
2023-08-24 07:30:08 +00:00

View File

@@ -126,6 +126,9 @@ patch(FormCompiler.prototype, "web_chatter_position", {
chatterContainerHookXml.setAttribute("t-if", false);
} else {
const formSheetBgXml = res.querySelector(".o_form_sheet_bg");
if (!formSheetBgXml) {
return res;
}
const sheetBgChatterContainerHookXml =
chatterContainerHookXml.cloneNode(true);
sheetBgChatterContainerHookXml.classList.add("o-isInFormSheetBg");