add web_window_title

This commit is contained in:
santi 2025-08-11 09:17:04 +00:00
parent c17ceb75a3
commit 190d1f09c2
11 changed files with 172 additions and 0 deletions

View file

@ -0,0 +1,12 @@
/** @odoo-module alias=web.window.title **/
import { WebClient } from "@web/webclient/webclient";
import {patch} from "@web/core/utils/patch";
patch(WebClient.prototype, "Web Window Title", {
setup() {
const title = document.title;
this._super();
this.title.setParts({ zopenerp: title });
}
});