Files
gzth/app_odoo_customize/static/src/js/dialog.js
T
2025-01-20 10:03:24 +08:00

16 lines
348 B
JavaScript

/** @odoo-module **/
import { Dialog } from "@web/core/dialog/dialog";
import { patch } from "@web/core/utils/patch";
import { session } from "@web/session";
patch(Dialog.prototype, {
setup() {
super.setup();
const app_system_name = session.app_system_name || "odooApp";
this.title = app_system_name;
},
});