如何从弹出错误消息/对话框中删除 openerp 标题?我到处搜索,但找不到需要更改的确切相位。
请给我建议
更改 chrome.js
第 273 和 288 行
title: "Softplanter " + _.str.capitalize(error.type),
buttons: [
{text: _t("Ok"), click: function() { $(this).dialog("close"); }}
]
});
},
show_error: function(error) {
if (!this.active) {
return;
}
var buttons = {};
buttons[_t("Ok")] = function() {
$(this).dialog("close");
};
var dialog = new instance.web.Dialog(this, {
title: "YourName " + _.str.capitalize(error.type),