[MERGE] OPW 592349: account_asset: show asset category on supplier invoice lines too, not only customer invoices

lp bug: https://launchpad.net/bugs/1104038 fixed

bzr revid: odo@openerp.com-20130607154327-rs703tj3wcvfmvno
This commit is contained in:
Olivier Dony 2013-06-07 17:43:27 +02:00
commit 5576d51aff
1 changed files with 11 additions and 0 deletions

View File

@ -13,6 +13,17 @@
</field>
</field>
</record>
<record model="ir.ui.view" id="view_invoice_asset_category">
<field name="name">account.invoice.supplier.form</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_supplier_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='invoice_line']/tree/field[@name='quantity']" position="before">
<field name="asset_category_id"/>
</xpath>
</field>
</record>
</data>
</openerp>