This commit introduces back the value by location feature dropped in v11. The feature was dropped because we implement financial fifo, thus the value by location does not make sense for this cost method. This commit introduces an estimation of the value by location in fifo. Task: 1880379
28 lines
1.1 KiB
XML
28 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record model="ir.ui.view" id="view_stock_quant_tree_inherit">
|
|
<field name="name">stock.quant.tree.inherit</field>
|
|
<field name="model">stock.quant</field>
|
|
<field name="inherit_id" ref="stock.view_stock_quant_tree"></field>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='product_uom_id']" position="after">
|
|
<field name="currency_id" invisible="1"/>
|
|
<field name="value"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record model="ir.ui.view" id="view_stock_quant_tree_editable_inherit">
|
|
<field name="name">stock.quant.tree.editable.inherit</field>
|
|
<field name="model">stock.quant</field>
|
|
<field name="inherit_id" ref="stock.view_stock_quant_tree_editable"></field>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='product_uom_id']" position="after">
|
|
<field name="currency_id" invisible="1"/>
|
|
<field name="value"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|