How can i hide a field using xml in qweb report if there is no data in the respective field
right now i have used the xml code something like this but its not working
inherit_id="purchase.report_purchaseorder_document">
position="after">
Description
position="after">
attrs="{'invisible':[('parameter_field_mechanical', '!=', False)]}"/>
Can someone please tell me how can i achieve this goal