Odoo Help

2

0
2 Answers
1
Avatar

Omal Bastin India

--Omal Bastin--

2158
| 7 7 10
Kochi, Kerala, India
--Omal Bastin--

Swiming deep into openERP/ODOO

Omal Bastin India
12/3/15, 7:42 AM

What you can do is add labels.

<div >

<label for="name" attrs="{'invisible': ['condition','=',False)]}"/>

<label for="name" string="Custom String" attrs="{'invisible': [('condition','=',True)]}"/>

</div>

<field name="name" nolabel="1" />

only problem is that it will not have a vertical separator between label and field value.

1 Comment
Aron Lorincz Hungary
12/30/15, 9:32 AM

Yes, it doesn't look exceptionally good, but it works.

0
Avatar

Ankit H Gandhi(AHG) India

--Ankit H Gandhi(AHG)--

1451
| 6 5 8
Baroda, India
--Ankit H Gandhi(AHG)--

Learning Python..

Ankit H Gandhi(AHG) India
12/30/15, 8:57 AM

Dear Anirudh Loh,

Please refer def fields_view_get method, Using that you can achieve your goal.

Best Regards,

Ankit H Gandhi.

Ask a Question
Writer
Keep Informed
1 follower(s)
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