[IMP] product: put the formula exact bellow the field

bzr revid: cha@tinyerp.com-20120925085838-1qjjr88azzuqk0f7
This commit is contained in:
Ajay Chauhan (OpenERP) 2012-09-25 14:28:38 +05:30
parent 5e7deadf24
commit 48100d36df
1 changed files with 4 additions and 2 deletions

View File

@ -465,11 +465,13 @@
</group>
<group>
<field name="uom_type" on_change="onchange_type(uom_type)"/>
<label string=""/>
<label string="e.g: 1 * (reference unit) = ratio * (this unit)" attrs="{'invisible':[('uom_type','!=','smaller')]}"/>
<label string=""/>
<label string="e.g: 1 * (this unit) = ratio * (reference unit)" attrs="{'invisible':[('uom_type','!=','bigger')]}"/>
<field name="rounding"/>
<field name="factor" attrs="{'invisible':[('uom_type','!=','smaller')]}"/>
<field name="factor_inv" attrs="{'invisible':[('uom_type','!=','bigger')]}"/>
<label string="e.g: 1 * (reference unit) = ratio * (this unit)" attrs="{'invisible':[('uom_type','!=','smaller')]}"/>
<label string="e.g: 1 * (this unit) = ratio * (reference unit)" attrs="{'invisible':[('uom_type','!=','bigger')]}"/>
</group>
</group>
</form>