[FIX] missing state field in account.invoice.line inlined in form view account.invoice.supplier.form

bzr revid: xmo@openerp.com-20111020132020-kwifihi24r4bb77u
This commit is contained in:
Xavier Morel 2011-10-20 15:20:20 +02:00
parent 6588eeaae2
commit ae8d719ba8
1 changed files with 12 additions and 0 deletions

View File

@ -55,6 +55,18 @@
</field>
</record>
<record model="ir.ui.view" id="account_invoice_supplier_form_layout">
<field name="name">account.invoice.supplier.form.layout</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_supplier_form"/>
<field name="type">form</field>
<field name="arch" type="xml">
<xpath expr="//field[@name='invoice_line']/tree/*[1]" position="before">
<field name="state" invisible="1"/>
</xpath>
</field>
</record>
<!-- notification message views -->
<record model="ir.ui.view" id="view_notify_message_search">
<field name="name">notify.message.search</field>