I need to change title in addons/web/static/src/js/web_client.js
this.set(\'title_part\', {\"zopenerp\": \"Odoo\"});
Is it
You can change it by overriding start function:
instance.web.WebClient.include({
start: function() {
this.set('title_part', {"zopenerp": "Odoo9"});
return this._super();
},
});
To override a javascript function in odoo, use the following code:
__openerp__.py
...
'data': [
'module_view.xml',
],
...
module_view.xml
script.js
openerp.title_365 = function(instance){
var _t = instance.web._t,
_lt = instance.web._lt;
var QWeb = instance.web.qweb;
instance.web.WebClient.include({
start: function() {
this.set('title_part', {"zopenerp": "Odoo9"});
return this._super();
},
});
}