0

I'm new to OpenOffice and I don't know how to do it. I have two fields one is text field and the other one is boolean (namely text_field and boolean_field), I just wanted to disable and enable the visibility of the text field and its column description from the report based on the boolean field value.How can i do this?

noble_man
  • 352
  • 3
  • 20
  • for more reference visit this, http://stackoverflow.com/questions/25762142/hiding-a-field-using-openerp-report-designer/25762863#25762863 – Bhavesh Odedra Sep 23 '14 at 06:08

1 Answers1

1

Try this in your report. This will work.

[[ o.boolean_field==True and o.text_field or removeParentNode('para') ]] 
Bhavesh Odedra
  • 10,990
  • 12
  • 33
  • 58