Hi,
I'm trying to set up a filtered version of an existing treeview using:
<record model="ir.ui.view" id="orderline_confirmed_view_tree">
<field name="model">my.orderline</field>
<field name="type">tree</field>
<field name="inherit" ref="orderline_view_tree"/>
<field name="domain">[("status", "=", "1")]</field>
<field name="arch" type="xml">
<![CDATA[
<data>
<xpath expr="/tree"
position="replace_attributes">
<tree string="Confirmed"/>
</xpath>
</data>
]]>
</field>
</record>
For some reason the filtering does not work. I see the view, but it
shows all orderlines, not just the ones that have a status="1".
What could I be doing wrong?
Best,
Elver
[email protected]
+372 5661 6933
http://memeresearch.com/
skype: elver.loho
--
[email protected] mailing list