Replace nested view by reference id

issue2401
review228002
This commit is contained in:
Cédric Krier committed 2012-01-31 23:39:59 +01:00
1 parent f0a8ddf3be
commit 9acc2c59b7
1 file changed
+16 -4
+16 -4
View File
@@ -40,10 +40,6 @@ this repository contains the full copyright notices and license terms. -->
<label name="carrier"/>
<field name="carrier"/>
</xpath>
<xpath expr="/form/notebook/page[@id='sale']/field[@name='lines']/tree"
position='inside'>
<field name="shipment_cost" tree_invisible="1"/>
</xpath>
<xpath
expr="/form/notebook/page[@id='other']/field[@name='shipment_method']"
position="after">
@@ -54,5 +50,21 @@ this repository contains the full copyright notices and license terms. -->
]]>
</field>
</record>
<record model="ir.ui.view" id="sale_line_view_tree_sequence">
<field name="model">sale.line</field>
<field name="type">tree</field>
<field name="inherit" ref="sale.sale_line_view_tree_sequence"/>
<field name="arch" type="xml">
<![CDATA[
<data>
<xpath expr="/tree" position="inside">
<field name="shipment_cost" tree_invisible="1"/>
</xpath>
</data>
]]>
</field>
</record>
</data>
</tryton>