in a custom module we have different detail-View-definitions and also 2 different tree views
how can i achieve that if i use the second tree-view, selecting an item within this tree-view should target to an alternative detail-view.
Edit: added sample code
<record model="ir.ui.view" id="dummy_form_view">
<field name="name">dummy.form</field>
<field name="model">x_dummy.dummy</field>
<field name="type">form</field>
<field name="priority" eval="13"/>
<field name="arch" type="xml">
<form string="dummy" create="false" edit="false" delete="false">
<sheet>
<group>
<field name="name" nolabel="1"/>
</group>
</sheet>
</form>
</field>
</record>
<record model="ir.ui.view" id="dummy_form_view2">
<field name="name">dummy.form</field>
<field name="model">x_dummy.dummy</field>
<field name="type">form</field>
<field name="priority" eval="15"/>
<field name="arch" type="xml">
<form string="dummy" delete="false" duplicate="false">
<group>
<field name="name2" />
</group>
</form>
</field>
</record>
<record model="ir.ui.view" id="dummy_tree_view">
<field name="name">dummy.tree</field>
<field name="model">x_dummy.dummy</field>
<field name="arch" type="xml">
<tree>
<field name="name" context="{'form_view_ref': 'x_dummy.dummy_form_view2'}"/>
</tree>
</field>
</record>
my goal is that the treeview opens dummy_form_view2 but it opens still the first view
Hope you need this: https://goo.gl/Baw9Zt
@Sehrish: no i do not want to reedirect to a treeview. i want to link within 2 different treeviews to different form-views