summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPratima Gupta <pgu@odoo.com>2017-09-11 15:01:32 +0530
committerPierre Masereel <pim@odoo.com>2017-09-15 15:38:37 +0200
commit8b2e0fcc5accef32a7a488a32e8905e2f75ea686 (patch)
tree56ef0561d0e1ee61e1509c79a17de0a0555f5553
parentab31d43fb98df941caf523c058247eba27ebf2a5 (diff)
[IMP] stock: Show the negative stock in red in inventory
-rw-r--r--addons/stock/views/stock_quant_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/views/stock_quant_views.xml b/addons/stock/views/stock_quant_views.xml
index d3f232cd784..8ab10db33d5 100644
--- a/addons/stock/views/stock_quant_views.xml
+++ b/addons/stock/views/stock_quant_views.xml
@@ -74,7 +74,7 @@
<field name="model">stock.quant</field>
<field eval="10" name="priority"/>
<field name="arch" type="xml">
- <tree string="Inventory Valuation" create="0" delete="0">
+ <tree string="Inventory Valuation" create="0" delete="0" decoration-danger="quantity &lt; 0">
<field name="product_id"/>
<field name="location_id"/>
<field name="lot_id" groups="stock.group_production_lot"/>