update ver

This commit is contained in:
ivan deng
2018-10-13 09:05:03 +08:00
parent 312e28e995
commit 93d6575b57
106 changed files with 1235 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
<odoo>
<data>
<!-- Inherit Form View to Modify it -->
<record id="app_invoice_form" model="ir.ui.view">
<field name="name">app.account.invoice.form</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_form"/>
<field name="arch" type="xml">
<xpath expr="//page/field[@name='invoice_line_ids']" position="attributes">
<attribute name="widget">multi_select_tree</attribute>
<attribute name="res_model">product.product</attribute>
<attribute name="res_field">product_id</attribute>
</xpath>
</field>
</record>
<record id="app_invoice_supplier_form" model="ir.ui.view">
<field name="name">app.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="//page/field[@name='invoice_line_ids']" position="attributes">
<attribute name="widget">multi_select_tree</attribute>
<attribute name="res_model">product.product</attribute>
<attribute name="res_field">product_id</attribute>
</xpath>
</field>
</record>
</data>
</odoo>