addons-cm/web_window_title/static/src/js/web_window_title.js
2025-08-11 09:22:21 +00:00

12 lines
329 B
JavaScript

/** @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 });
}
});