Why this is not possible without errors: missing columnsin one2many views, wrong objects in views ..etc
I think this corresponds to the example in the documentation:
<field name="order_line" colspan="4" nolabel="1"
context="{'form_view_ref' : 'module.view_id',
'tree_view_ref' : 'module.view_id'}"/>
Hello Vishal,
please install additional the following modul(partner_test) and try again.
I think it should be possible to call multiple views with the same object.
example without inherits:
<field name="supplier_ product_ ids1" nolabel='1' "{'form_ view_ref' : 'partner_ test.supplier_ productinfo_ form_view1' , view_ref' : 'partner_ test.supplier_ productinfo_ tree_view1' }"/>
context=
'tree_
<field name="supplier_ product_ ids2" nolabel='' "{'form_ view_ref' : 'partner_ test.supplier_ productinfo_ form_view2' , view_ref' : 'partner_ test.supplier_ productinfo_ tree_view2' }"/>
context=
'tree_
<field name="supplier_ product_ ids3" nolabel='1' "{'form_ view_ref' : 'partner_ test.supplier_ productinfo_ form_view3' , view_ref' : 'partner_ test.supplier_ productinfo_ tree_view3' }"/>
context=
'tree_
<record id="supplier_ productinfo_ tree_view1" model="ir.ui.view"> >rockel. supplier. productinfo. tree.view< /field> >product. supplierinfo< /field> >tree</ field>
<tree string="Supplier Product Information">
< field name="sequence" invisible="True"/>
< field name="product_id"/>
< field name="product_code" string="Lief. Art.-Nr."/>
< field name="price"/>
</tree>
</ field>
<field name="name"
<field name="model"
<field name="type"
<field name="arch" type="xml">
</record>
<record id="supplier_ productinfo_ form_view1" model="ir.ui.view"> >rockel. supplier. productinfo. form.view< /field> >product. supplierinfo< /field> >form</ field>
<form string="Supplier Product Information">
< field name="sequence"/>
< newline/ >
< field name="product_id" colspan="4"/>
</form>
</ field>
<field name="name"
<field name="model"
<field name="type"
<field name="arch" type="xml">
</record>
<record id="supplier_ productinfo_ tree_view2" model="ir.ui.view"> >rockel. supplier. productinfo. tree.view< /field> >product. supplierinfo< /field> >tree</ field>
<tree string="Supplier Product Information">
< field name="sequence" invisible="True"/>
< field name="product_id"/>
< field name="product_code" string="Lief. Art.-Nr."/>
< field name="price"/>
</tree>
</ field>
<field name="name"
<field name="model"
<field name="type"
<field name="arch" type="xml">
</record>
<record id="supplier_ productinfo_ form_view2" model="ir.ui.view"> >rockel. supplier. productinfo. form.view< /field> >product. supplierinfo< /field> >form</ field>
<form string="Supplier Product Information">Vishal
< field name="sequence"/>
< newline/ >
< field name="product_id" colspan="4"/>
</form>
</ field>
<field name="name"
<field name="model"
<field name="type"
<field name="arch" type="xml">
</record>
<record id="supplier_ productinfo_ tree_view3" model="ir.ui.view">
.
.
.
.
.
Why this is not possible without errors: missing columnsin one2many views, wrong objects in views ..etc "{'form_ view_ref' : 'module.view_id', view_id' }"/>
I think this corresponds to the example in the documentation:
<field name="order_line" colspan="4" nolabel="1"
context=
'tree_view_ref' : 'module.