Odoo Help

6
8 Answers
1
Jesni Banu
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>

Ask a Question
Writer
Keep Informed
3 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