Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Change login page title

By
Rait Helmrosin
on 10/26/13, 7:01 AM 7,770 views

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!

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.

ITMeedia, Rait Helmrosin
on 10/26/13, 4:53 PM
2

Brett Lehrer

--Brett Lehrer--
1252
| 5 4 8
Milwaukee, United States
--Brett Lehrer--
Director of IT and open source enthusiast.
Brett Lehrer
On 10/26/13, 1:02 PM

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.

0

Leonardo Donelli

--Leonardo Donelli--
1040
| 5 4 8
Cave, Italy
--Leonardo Donelli--

Physics student and part-time developer.

Leonardo Donelli
On 3/21/15, 8:47 AM

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

For Odoo 8:

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/26/13, 7:01 AM
Seen: 7770 times
Last updated: 4/28/16, 3:39 AM