Odoo Help

6
1
Jesni Banu
On 3/4/17, 4:50 AM

You can hide discount field as follow.

<xpath expr="//field[@name='invoice_line_ids']/tree/field[@name='discount'] position="attributes">                  
     <attribute name="attrs">{'invisible': [('hide_discount', '=', False')]}</attribute>              
</xpath>

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 10/4/16, 6:31 AM
Seen: 2525 times
Last updated: 3/4/17, 5:19 AM