[FIX] account_invoice_layout: improved code

bzr revid: tpa@tinyerp.com-20120427131345-7q8fxia5irfrc112
This commit is contained in:
Turkesh Patel (Open ERP)
2012-04-27 18:43:45 +05:30
parent 3a44d34d13
commit 3dd970b498
@@ -47,7 +47,7 @@
<field name="inherit_id" ref="account.invoice_form"/>
<field name="type">form</field>
<field name="arch" type="xml">
<xpath expr="/form/notebook/page/field[@name='invoice_line']" position="replace">
<xpath expr="/form/sheet/notebook/page/field[@name='invoice_line']" position="replace">
<!-- keep the original fields, because other views position on that, too -->
<field name="invoice_line" invisible="True"/>
<field name="abstract_line_ids" colspan="4" nolabel="1"/>