Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
15011 Переглядів

Hi,


I would like to know how can I modify my xml in order modify the string inside the <page> in xml.

For example here:

page string="Other Information" groups="base.group_user">

I would like to see Other Information in bold.


Is it possible?


Thank you a lot,


Selverine

Аватар
Відмінити
Найкраща відповідь

Yes, this is possible.

Pls do the following:

Go to the file : openerp\addons\web\static\src\css\base.css 

search for the class  ui-tabs-active, and you'll find the following class

.openerp .oe_notebook > li.ui-tabs-active > a {
color: #4c4c4c; 
}

add to it the font-weight:bold; line to be as follows

.openerp .oe_notebook > li.ui-tabs-active > a {
color: #4c4c4c;
font-weight: bold;
}

refresh your browser and you'll get the desired result

Note:

1. I got the class name by using the inspect feature in the browser

2. I'm not a css developer, and this is the first time I try to change some Odoo styles. 

    I gave you the first light, and you have to check with a css developer to know how to do this change without editing the base.css file

I hope this reply is helpful.

=============

I checked again and found this link https://www.odoo.com/nl_NL/forum/help-1/question/how-css-and-js-inheritance-works-on-odoo-v8-55278

pls read it and you can do the changes you wished in a standard way. I have to read it/apply it too.

Аватар
Відмінити
Автор

Hi Tarek. Sorry for the delay I was on holiday. It is exactly what I need and it works perfectly. Thank you a lot!! Selverine

Related Posts Відповіді Переглядів Дія
0
квіт. 24
30
1
черв. 16
7287
1
бер. 25
822
0
лист. 24
1094
0
черв. 24
1227