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 want to show active and non-active records (here: of a one2many relationship) in the tree view of a subview together.
to show both, but this had no effect - only active=True is shown. Even
to show only non-active records does not work: it shows only active records, still.
Any hints or ideas? Is the many2one view broken in some way in 6.1?
<record id="model_form" model="ir.ui.view"> <field name="name">model.form</field> <field name="model">model</field> <field name="type">form</field> <field name="arch" type="xml"> <form string="model"> <field name="name" colspan="4" /> ... <separator colspan="4" string="Remotes" /> <field name="remote_ids" nolabel="1" colspan="4" domain="['|',('active','=',True),('active','=',False)]"> <tree string="Remote"> <field name="name" /> ... </tree> <form string="Remote"> <field name="name" colspan="4" /> ...
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: 3/4/13, 4:47 AM|
|Seen: 3962 times|
|Last updated: 1/15/16, 12:56 AM|