Odoo Help

0

Bold in List View for Many Records?

By
Mazhar Iqbal Rana
on 1/28/15, 3:48 AM 1,155 views

Hey Good Day!
 

I am trying the below code for bolding my first record and it works fine. BUt for multiple it does not

 

Pls guide

 

Code:

 

<tree string="Configuration Tree" fonts="bold:task_name == 'PLANNING AND DESIGN'">

and for multiple I am trying this:

<tree string="Configuration Tree" fonts="bold:task_name == 'PLANNING AND DESIGN' bold:task_name == 'DEVELOPMENT'">

The secind one is not working

 

Guide PLz

 

Thanks

 

 

Yes I did it with: fonts="bold:task_name == 'PROJECT DEFINITION AND MANAGEMENT';bold:task_name == 'PLANNING'"

Mazhar Iqbal Rana
on 1/28/15, 6:56 AM
1
Ivan
On 1/28/15, 5:28 AM

I think it would be a hassle to bold Task by name, no?  Anyway, try this: <tree string="Configuration Tree" fonts="bold:task_name in ['PLANNING AND DESIGN','DEVELOPMENT']">

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: 1/28/15, 3:48 AM
Seen: 1155 times
Last updated: 3/16/15, 8:10 AM