Odoo Help

0

[SOLVED] String in <page string=XX in bold - xml

By
Selverine
on 8/17/15, 3:53 PM 1,668 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

1

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

Selverine
on 8/30/15, 12:57 PM

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 8/17/15, 3:53 PM
Seen: 1668 times
Last updated: 8/30/15, 12:58 PM