| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
<record model="ir.ui.view" id="view_stock_quant_tree_inherit"> |
| 4 |
<field name="name">stock.quant.list.inherit</field> |
| 5 |
<field name="model">stock.quant</field> |
| 6 |
<field name="inherit_id" ref="stock.view_stock_quant_tree"></field> |
| 7 |
<field name="arch" type="xml"> |
| 8 |
<xpath expr="//field[@name='product_uom_id']" position="after"> |
| 9 |
<field name="currency_id" column_invisible="True"/> |
| 10 |
<field name="value" optional="hidden"/> |
| 11 |
</xpath> |
| 12 |
</field> |
| 13 |
</record> |
| 14 |
|
| 15 |
<record model="ir.ui.view" id="view_stock_quant_tree_editable_inherit"> |
| 16 |
<field name="name">stock.quant.list.editable.inherit</field> |
| 17 |
<field name="model">stock.quant</field> |
| 18 |
<field name="inherit_id" ref="stock.view_stock_quant_tree_editable"></field> |
| 19 |
<field name="arch" type="xml"> |
| 20 |
<xpath expr="//field[@name='product_uom_id']" position="after"> |
| 21 |
<field name="currency_id" column_invisible="True"/> |
| 22 |
<field name="cost_method" column_invisible="True"/> |
| 23 |
<field name="value" optional="hidden" sum="Total Value"/> |
| 24 |
</xpath> |
| 25 |
</field> |
| 26 |
</record> |
| 27 |
|
| 28 |
<record id="view_stock_quant_tree_inventory_editable_inherit_stock_account" model="ir.ui.view"> |
| 29 |
<field name="name">stock.quant.inventory.list.editable.inherit.stock.account</field> |
| 30 |
<field name="model">stock.quant</field> |
| 31 |
<field name="inherit_id" ref="stock.view_stock_quant_tree_inventory_editable"/> |
| 32 |
<field name="arch" type="xml"> |
| 33 |
<xpath expr="//field[@name='product_uom_id']" position="after"> |
| 34 |
<field name="accounting_date" optional="hide"/> |
| 35 |
</xpath> |
| 36 |
</field> |
| 37 |
</record> |
| 38 |
</odoo> |