Community mailing list archives

community@mail.odoo.com

hide field in report quotation

by
moulay rachid
- 07/25/2015 04:16:26
hi
please what wrong with my code

my goal is that when product quntity equl to zero in the printed report it disapear

 <td class="text-right">
                            <span t-field="l.product_uom_qty"    attrs="{'invisible': [('l.product_uom_qty','=', 0)]}" />
                            <span groups="product.group_uom" t-field="l.product_uom"/>
                        </td>

thanks