sale_layout: fix inheriting form
authorP. Christeas <p_christ@hol.gr>
Tue, 19 Oct 2010 07:35:03 +0000 (10:35 +0300)
committerP. Christeas <p_christ@hol.gr>
Tue, 19 Oct 2010 07:35:03 +0000 (10:35 +0300)
bzr revid: p_christ@hol.gr-20101019073503-ncmzgprfgsuve0wg

addons/sale_layout/sale_layout_view.xml

index f184f79..3eac7eb 100755 (executable)
@@ -10,7 +10,7 @@
                        <field name="inherit_id" ref="sale.view_order_line_form2"/>
                        <field name="type">form</field>
                        <field name="arch" type="xml">
-                               <xpath expr="/form/notebook/page/field[@name='name']" position="before">
+                               <xpath expr="/form/group/field[@name='name']" position="before">
                                        <field name="layout_type" select="1" on_change="onchange_sale_order_line_view(layout_type)" />
                                        <field name="sequence"/>
                                </xpath>