[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user