Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
26512 Visninger

In all browser tabs there is a name ending with '- OpenErp'. How can i append something to this string?

Avatar
Kassér
Bedste svar

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';
    },

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

Avatar
Kassér
Forfatter

Thank you, this is what i wanted to know.

Hi Ray carnes Can you to me how to change the text that accur in the browser tab while reloading the tab

Bedste svar

@Umashankar Subramani    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.

Hope it helps you.

 

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
2
jul. 25
1196
1
maj 25
753
2
maj 25
1338
1
jul. 24
2936
0
aug. 24
341