Skip to content
Snippets Groups Projects
Commit 2e2e588e authored by Florent de Labarre's avatar Florent de Labarre Committed by GitHub
Browse files

[FIX] uom : hard to edit factor


In some screen it is very hard to edit the factor.

closes odoo/odoo#66323

Signed-off-by: default avatarWilliam Henrotin <Whenrow@users.noreply.github.com>
parent 5bf7f359
Branches
Tags
No related merge requests found
......@@ -25,21 +25,21 @@
<field name="uom_type"/>
<label for="factor"
attrs="{'invisible':[('uom_type','!=','smaller')]}"/>
<div attrs="{'invisible':[('uom_type','!=','smaller')]}" class="o_row">
<div attrs="{'invisible':[('uom_type','!=','smaller')]}">
<field name="factor"
digits="[42,5]"
attrs="{'readonly':[('uom_type','=','bigger')]}"/>
<span class="oe_grey">
<span class="oe_grey oe_inline">
e.g: 1*(reference unit)=ratio*(this unit)
</span>
</div>
<label for="factor_inv"
attrs="{'invisible':[('uom_type','!=','bigger')]}"/>
<div attrs="{'invisible':[('uom_type','!=','bigger')]}" class="o_row">
<div attrs="{'invisible':[('uom_type','!=','bigger')]}">
<field name="factor_inv"
digits="[42,5]"
attrs="{'readonly':[('uom_type','!=','bigger')]}"/>
<span class="oe_grey">
<span class="oe_grey oe_inline">
e.g: 1*(this unit)=ratio*(reference unit)
</span>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment