[Fix] Account fiscal gr: use simpler xml inheritance
authorP. Christeas <p_christ@hol.gr>
Thu, 28 Oct 2010 12:24:14 +0000 (15:24 +0300)
committerP. Christeas <p_christ@hol.gr>
Thu, 28 Oct 2010 12:24:14 +0000 (15:24 +0300)
At the new layout, the <xpath ..> notation fails to find the right
place, use the simple <field ..> method.

bzr revid: p_christ@hol.gr-20101028122414-b101ez073g5s5xrz

addons/account_greek_fiscal/account_fiscalgr_vats.xml

index 9dc2dbd..658342f 100644 (file)
                <field name="inherit_id" ref="base_vat.view_partner_form"/>
                <field name="type">form</field>
                <field name="arch" type="xml">
-                       <xpath expr="/form/notebook/page[@string='Accounting']/group/field[@name='vat']" position="after">
+                       <field name="vat" position="after">
                                <field name="vat_taxauth"/>
                                <field name="vat_occup" />
-                       </xpath>
+                       </field>
                </field>
        </record>