[IMP] stock: restructure product.valuation.tree view

And display stock_value with a currency symbol.
This commit is contained in:
Hiral Bhavsar
2017-09-07 14:23:27 -07:00
committed by Joren Van Onder
parent f2926823e8
commit 39d5881b93
+5 -3
View File
@@ -92,9 +92,11 @@
<field name="model">product.product</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
<field name="stock_value" sum="Stock Valuation"/>
<field name="qty_available" context="{'company_owned': True}"/>
<field name="name" string="Product"/>
<field name="qty_available" context="{'company_owned': True}" string="Quantity on Hand"/>
<field name="uom_id" groups="product.group_uom"/>
<field name="currency_id" invisible="1"/>
<field name="stock_value" sum="Stock Valuation" widget="monetary" string="Total Value"/>
</tree>
</field>
</record>