How to change the title of the page from to any custom title
I have already extended the web.layout , web.login_layout. I want to change the dynamic page title of odoo in a custom module. Please tell me if there is any other way other than changing web_client.js file's zopenerp property. I also tried to override the init function in web_client.js but it is not working
openerp.edit_title_module = function(instance) {
// THIS CONSOLE LOG IS PRINTING
consloe.log("Print 1")
instance.web.webclient.extend({
init: function(parent, client_options) {
// BUT THIS CONSOLE LOG IS NOT EXECUTING
consloe.log("Print 2")
this._super(parent, client_options);
this.set('title_part', {"zopenerp": "My custom title"});
},
});
};
What title do you mean? Can you provide a screenshot?
I mean the page's title appearing in browser's tab, I am not able to edit the question,When ever I try to edit and save, It shows 403 forbidden that's why I am not able to post a screen shot
You can add a link to a screenshot here as a comment.