Skip to Content
Menu
This question has been flagged
1 Reply
14150 Views

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

Avatar
Discard
Best Answer

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.

Avatar
Discard
Author

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 Replies Views Activity
0
Apr 24
30
1
Jun 16
6679
0
Nov 24
130
0
Jun 24
266
1
Jun 24
694