sf新增修改网站标签功能
This commit is contained in:
BIN
vista_backend_theme/static/description/main_screenshot.png
Normal file
BIN
vista_backend_theme/static/description/main_screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
12
vista_backend_theme/static/src/js/web_window_title.js
Normal file
12
vista_backend_theme/static/src/js/web_window_title.js
Normal 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 });
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user