Odoo Help

Welcome!

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

0

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

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

Tarek Mohamed Ibrahim

--Tarek Mohamed Ibrahim--
896
| 5 3 7
Gîza, Egypt
--Tarek Mohamed Ibrahim--

I am an old VFP developer on ERP

I have moved to 2p since Nov-2014 and started developing with Python on Odoo.

https://www.linkedin.com/profile/public-profile-settings?trk=prof-edit-edit-public_profile

tibrahim@2p.com.sa

Tarek Mohamed Ibrahim
On 8/17/15, 5:13 PM

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

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!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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