Hi!
I want to show active and non-active records (here: of a one2many relationship) in the tree view of a subview together.
I tried
domain="['|',('active','=',True),('active','=',False)]"
to show both, but this had no effect - only active=True is shown. Even
domain=[('active','=',False)]
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" />
...