Skip to Content
Menú
This question has been flagged
3 Respostes
23830 Vistes

Hello!

I would like to change the login page title. I tried to change the title in main.py file, but it did nothing to the login page. Tried 4 different browsers (maybe cache does not clean up) but still nothing. Is there some where else I should look for the title?

Also tried to restart the server = no results.

Thank you!

Avatar
Descartar

I have modified the file and there is nothing to edit anymore. Where could the problem be? Edit: Got it fixed. There was 2 openerp servers running somehow and I had to kill one from ps aux list then start it again and that fixed the problem.

Best Answer

In addons/web/static/src/js/chrome.js:

set_title: function(title) {
    title = _.str.clean(title);
    var sep = _.isEmpty(title) ? '' : ' - ';
    document.title = title + sep + 'OpenERP';
},

Modify or inherit that and set it however you want.

Avatar
Descartar
Best Answer

Brett's answer is valid for OpenERP/Odoo 7.

For Odoo 8:

Avatar
Descartar
Related Posts Respostes Vistes Activitat
4
de nov. 24
2617
1
de set. 24
1317
3
de febr. 24
5020
5
de des. 24
33170
0
de juny 22
328