Odoo - OpenERP - How to change the title of our web page in browser?

Support
Support
5000
| 2 1 2
Asked on 7/25/15, 7:32 AM
0
vote
5547 Views

1)

Goto Website -> Promote in top right corner -> Reference Your Page -> Change Title.

2)

Looking at the source code, you can find this function:

set_title: function(title) {

title = _.str.clean(title);

var sep = _.isEmpty(title) ? '' : ' - ';

document.title = title + sep + 'OpenERP';

},

Then > Review web/static/src/js/chrome.js

3) 

you can change the text in the   file  web/views/webclient_templates.xml

<head>
                    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
                    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
                    <title>Odoo</title>
                    <link rel="shortcut icon" href="/web/static/src/img/favicon.ico" type="image/x-icon"/>
                    <link rel="stylesheet" href="/web/static/src/css/full.css" />
                    <t t-raw="head or ''"/>
                </head>

Change the text Odoo with your custom text.. then it will not appear further.

Support
Support
5000
| 2 1 2
Answered on 7/25/15, 7:35 AM
0
vote

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!

Ask a Question

Keep Informed

About This Forum

This forum is for HiTechnologia Employees & just Odoo general knowledge purpose only.

Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 7/25/15, 7:32 AM
Seen: 5547 times
Last updated: 7/25/15, 7:35 AM