How To Change The Title In Odoo 10?
I have changed the Odoo 10 login page title by using website builder app but it does not work on the other pages after login. After login when I access different installed apps th
Solution 1:
In Odoo 10
, we need to edit below JS
file
addons/web/static/src/js/abstract_web_client.js
Change this code:
this.set('title_part', {"zopenerp": "Odoo"});
With this one:
this.set('title_part', {"zopenerp": "YourPageTitle"});
After this, you restart your Odoo
server to see the changes.
Solution 2:
the funciton that change the tilte_part is :
_title_changed
in the js file : addons/web/static/src/js/abstract_web_client.js
it uses this.set('title_part', {"zopenerp": "Odoo"});
so you can change the word odoo by something that you need. and costumize the order of the title in _title_changed
to display it like what ever you want.
Post a Comment for "How To Change The Title In Odoo 10?"