[FIX] stock: nested statinfo values
Inside a statinfo context, the widget statinfo should not be used (cause useless DOM depth + misalignements). Just change to integer values.
This commit is contained in:
@@ -281,10 +281,9 @@
|
||||
attrs="{'invisible':[('type', '!=', 'product')]}"
|
||||
class="oe_stat_button" icon="fa-building-o">
|
||||
<div class="o_form_field o_stat_info">
|
||||
<span class="o_stat_value"><field name="virtual_available" widget="statinfo" nolabel="1"/>
|
||||
<span class="o_stat_value"><field name="virtual_available" widget="integer"/>
|
||||
<span attrs="{'invisible':[('outgoing_qty', '=', 0),('incoming_qty','=',0)]}" groups="base.group_no_one">
|
||||
(-<field name="outgoing_qty" widget="statinfo" nolabel="1"/>
|
||||
+<field name="incoming_qty" widget="statinfo" nolabel="1"/>)
|
||||
(-<field name="outgoing_qty" widget="integer"/>+<field name="incoming_qty" widget="integer"/>)
|
||||
</span>
|
||||
</span>
|
||||
<span class="o_stat_text">Forecasted</span>
|
||||
|
||||
Reference in New Issue
Block a user