Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have a one2many field named line_ids in my view:
i want to display some rows and not others but i need them all in a calculation.
the question is how to hide some rows in one2many
because i need all the rows for the calculation and i don't want to bother the user with all of the rows
I need to display just the rows with a field "display" value as True.
<!-- language: lang-xml -->
<field name="line_ids" >
<tree string="Lignes de Rubriques" editable="bottom">
<field name="code" invisible="1"/>
<field name="a_afficher" />
<field name="sequence" />
<field name="display" />
<field name="total" invisible="1" />
<field name="soumise_CNSS" string="CNSS" invisible="1"/>
<field name="soumise_AMO" string="AMO" invisible="1"/>
<field name="soumise_IR" string="IR" invisible="1"/>
How do I achieve this? Thank you :)
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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
|Asked: 2/25/15, 11:37 AM|
|Seen: 726 times|
|Last updated: 8/9/16, 6:50 AM|