[FIX] stock: show virtual_available and fields that compute it as float

Essentially undoing what was done at
ccd50b7ecd. This no longer seems
necessary as the new webclient seems to handle this fine.
This commit is contained in:
Ankit Joshi
2017-09-26 16:49:43 -07:00
committed by Joren Van Onder
parent 5539c54d61
commit 10d1149edf
+2 -2
View File
@@ -264,9 +264,9 @@
attrs="{'invisible':[('type', '!=', 'product')]}"
class="oe_stat_button" icon="fa-building-o">
<div class="o_field_widget o_stat_info">
<span class="o_stat_value"><field name="virtual_available" widget="integer"/>
<span class="o_stat_value"><field name="virtual_available" widget="statinfo" nolabel="1"/>
<span attrs="{'invisible':[('outgoing_qty', '=', 0),('incoming_qty','=',0)]}" groups="base.group_no_one">
(-<field name="outgoing_qty" widget="integer"/>+<field name="incoming_qty" widget="integer"/>)
(-<field name="outgoing_qty" widget="statinfo" nolabel="1"/>+<field name="incoming_qty" widget="statinfo" nolabel="1"/>)
</span>
</span>
<span class="o_stat_text">Forecasted</span>